A high-performance general-purpose compute library

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

Functions

AFAPI array real (const array &in)
 C++ Interface to return the real part of a complex array. More...
 
AFAPI af_err af_real (af_array *out, const af_array in)
 C Interface to return the real part of a complex array. More...
 

Detailed Description

Returns the real part of a complex array.

Function Documentation

◆ af_real()

AFAPI af_err af_real ( af_array out,
const af_array  in 
)

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

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

◆ real()

AFAPI array real ( const array in)

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

Parameters
[in]ininput complex array
Returns
real part