A high-performance general-purpose compute library

Calculate the phase angle (in radians) of a complex array. More...

Functions

array arg (const array &in)
 C++ Interface to calculate the phase angle (in radians) of a complex array.
 
af_err af_arg (af_array *out, const af_array in)
 C Interface to calculate the phase angle (in radians) of a complex array.
 

Detailed Description

Calculate the phase angle (in radians) of a complex array.

Function Documentation

◆ af_arg()

af_err af_arg ( af_array * out,
const af_array in )

C Interface to calculate the phase angle (in radians) of a complex array.

Parameters
[out]outphase angle (in radians)
[in]ininput array, typically complex
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ arg()

array arg ( const array & in)

C++ Interface to calculate the phase angle (in radians) of a complex array.

Parameters
[in]ininput array, typically complex
Returns
phase angle (in radians)