DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Functions
Complex
Operations

Operations on complex arrays. More...

Functions

array af::array::conjugate ()
 Conjugate of the current array(i.e., 2 + 3i becomes 2 - 3i)
array af::real (const array &in)
 Get the real part.
array af::imag (const array &in)
 Get the imaginary part.
array af::complex (const array &real, const array &imag)
 Construct complex array from real and imaginary parts.
array af::complex (const array &real)
 Construct complex array from real part.
array af::conjugate (const array &a)
 Get the conjugate of the complex array.

Detailed Description

Operations on complex arrays.


Function Documentation

array af::array::conjugate ( )

Conjugate of the current array(i.e., 2 + 3i becomes 2 - 3i)

array af::real ( const array &  in)

Get the real part.

Examples:
examples/fft.cpp.
array af::imag ( const array &  in)

Get the imaginary part.

array af::complex ( const array &  real,
const array &  imag 
)

Construct complex array from real and imaginary parts.

array af::complex ( const array &  real)

Construct complex array from real part.

array af::conjugate ( const array &  a)

Get the conjugate of the complex array.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines