create complex arrays More...

Functions

AFAPI af_err af_cplx2 (af_array *out, const af_array lhs, const af_array rhs, const bool batch)
 C Interface for creating complex array from two input arrays. More...
 
AFAPI af_err af_cplx (af_array *out, const af_array in)
 C Interface for creating complex array from real array. More...
 
AFAPI array complex (const array &in)
 C++ Interface for creating complex array from real array. More...
 

Detailed Description

create complex arrays

Function Documentation

AFAPI af_err af_cplx ( af_array out,
const af_array  in 
)

C Interface for creating complex array from real array.

Parameters
[out]outwill contain complex array created from real input in
[in]inis real array
Returns
AF_SUCCESS if the execution completes properly
AFAPI af_err af_cplx2 ( af_array out,
const af_array  lhs,
const af_array  rhs,
const bool  batch 
)

C Interface for creating complex array from two input arrays.

Parameters
[out]outwill contain the complex array generated from inputs
[in]lhsis real array
[in]rhsis imaginary array
[in]batchspecifies if operations need to be performed in batch mode
Returns
AF_SUCCESS if the execution completes properly
AFAPI array af::complex ( const array in)

C++ Interface for creating complex array from real array.

Parameters
[in]inis real array
Returns
complex array from in