ArrayFire: arg
Calculate the phase angle (in radians) of a complex array. More...
Functions | |
| AFAPI array | arg (const array &in) |
| C++ Interface to calculate the phase angle (in radians) of a complex array. More... | |
| AFAPI af_err | af_arg (af_array *out, const af_array in) |
| C Interface to calculate the phase angle (in radians) of a complex array. More... | |
Calculate the phase angle (in radians) of a complex array.
◆ af_arg()
C Interface to calculate the phase angle (in radians) of a complex array.
- Parameters
-
[out] out phase angle (in radians) [in] in input array, typically complex
- Returns
- AF_SUCCESS, if function returns successfully, else an af_err code is given
C++ Interface to calculate the phase angle (in radians) of a complex array.
- Parameters
-
[in] in input array, typically complex
- Returns
- phase angle (in radians)