Get real part of complex arrays. More...

Functions

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

Detailed Description

Get real part of complex arrays.

Function Documentation

AFAPI af_err af_real ( af_array out,
const af_array  in 
)

C Interface for getting real part from complex array.

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

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

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