ArrayFire: imag (original) (raw)

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

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

Returns the imaginary part of a complex array.

af_imag()

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

Parameters

[out] out imaginary part
[in] in complex array

Returns

AF_SUCCESS, if function returns successfully, else an af_err code is given

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

Parameters

[in] in input complex array

Returns

imaginary part