A high-performance general-purpose compute library

Returns the imaginary part of a complex array. More...

Functions

array imag (const array &in)
 C++ Interface to return the imaginary part of a complex array.
 
af_err af_imag (af_array *out, const af_array in)
 C Interface to return the imaginary part of a complex array.
 

Detailed Description

Returns the imaginary part of a complex array.

Function Documentation

◆ af_imag()

af_err af_imag ( af_array * out,
const af_array in )

C Interface to return the imaginary part of a complex array.

Parameters
[out]outimaginary part
[in]incomplex array
Returns
AF_SUCCESS, if function returns successfully, else an af_err code is given

◆ imag()

array imag ( const array & in)

C++ Interface to return the imaginary part of a complex array.

Parameters
[in]ininput complex array
Returns
imaginary part