Skip to content

Commit dad26bd

Browse files
author
aidan.belton
committed
Extend change to math functions
1 parent 7800fd4 commit dad26bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_complex_marray.asciidoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ namespace oneapi {
267267
mgenfloat norm(const mgencomplex& x);
268268

269269
mgencomplex polar(const mgenfloat& rho, const mgenfloat& theta);
270-
mgencomplex polar(const mgenfloat& rho, const genfloat& theta = 0);
271-
mgencomplex polar(const genfloat& rho, const mgenfloat& theta);
270+
mgencomplex polar(const mgenfloat& rho, genfloat theta = 0);
271+
mgencomplex polar(genfloat rho, const mgenfloat& theta);
272272

273273
mgencomplex pow(const mgencomplex& x, const mgenfloat& y);
274-
mgencomplex pow(const mgencomplex& x, const genfloat& y);
274+
mgencomplex pow(const mgencomplex& x, genfloat y);
275275
mgencomplex pow(const gencomplex& x, const mgenfloat& y);
276276

277277
mgencomplex pow(const mgencomplex& x, const mgencomplex& y);
@@ -280,7 +280,7 @@ namespace oneapi {
280280

281281
mgencomplex pow(const mgenfloat& x, const mgencomplex& y);
282282
mgencomplex pow(const mgenfloat& x, const gencomplex& y);
283-
mgencomplex pow(const genfloat& x, const mgencomplex& y);
283+
mgencomplex pow(genfloat x, const mgencomplex& y);
284284

285285
mgencomplex proj(const mgencomplex& x);
286286
mgencomplex proj(const mgenfloat& x);
@@ -340,13 +340,13 @@ mathematical operation.
340340
|Compute the squared magnitude for each complex number in marray x.
341341
|`mgencomplex polar(const mgenfloat& rho, const mgenfloat& theta)`
342342
|Construct an marray, elementwise, of complex numbers from each polar coordinate in marray rho and marray theta.
343-
|`mgencomplex polar(const mgenfloat& rho, const genfloat& theta = 0)`
343+
|`mgencomplex polar(const mgenfloat& rho, genfloat theta = 0)`
344344
|Construct an marray, elementwise, of complex numbers from each polar coordinate in marray rho and scalar theta.
345-
|`mgencomplex polar(const genfloat& rho, const mgenfloat& theta)`
345+
|`mgencomplex polar(genfloat rho, const mgenfloat& theta)`
346346
|Construct an marray, elementwise, of complex numbers from each polar coordinate in scalar rho and marray theta.
347347
|`mgencomplex pow(const mgencomplex& x, const mgenfloat& y)`
348348
|Raise each complex element in x to the power of the corresponding decimal element in y.
349-
|`mgencomplex pow(const mgencomplex& x, const genfloat& y)`
349+
|`mgencomplex pow(const mgencomplex& x, genfloat y)`
350350
|Raise each complex element in x to the power of the decimal number y.
351351
|`mgencomplex pow(const gencomplex& x, const mgenfloat& y)`
352352
|Raise complex number x to the power of each decimal element in y.
@@ -360,7 +360,7 @@ mathematical operation.
360360
|Raise each decimal element in x to the power of the corresponding complex element in y.
361361
|`mgencomplex pow(const mgenfloat& x, const gencomplex& y)`
362362
|Raise each decimal element in x to the power of the complex number y.
363-
|`mgencomplex pow(const genfloat& x, const mgencomplex& y)`
363+
|`mgencomplex pow(genfloat x, const mgencomplex& y)`
364364
|Raise decimal number x to the power of each complex element in y.
365365
|`mgencomplex proj(const mgencomplex& x)`
366366
|Compute the projection for each complex number in marray x.

0 commit comments

Comments
 (0)