Get imaginary part of complex arrays. More...

Functions

AFAPI array imag (const array &in)
 C++ Interface for getting imaginary part from complex array. More...
 
AFAPI af_err af_imag (af_array *out, const af_array in)
 C Interface for getting imaginary part from complex array. More...
 

Detailed Description

Get imaginary part of complex arrays.

Function Documentation

AFAPI af_err af_imag ( af_array out,
const af_array  in 
)

C Interface for getting imaginary part from complex array.

Parameters
[out]outwill contain the imaginary part of in
[in]inis complex array
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::imag ( const array in)

C++ Interface for getting imaginary part from complex array.

Parameters
[in]inis complex array
Returns
the imaginary part of in