Convert a real array into a complex array. More...

array complex (const array &x)
 
array complex (const array &real, const array &imaginary)
 Form a complex result from one real input. More...
 
array complex (const array &real, const double imaginary)
 Form a complex result from real and imaginary parts. More...
 
array complex (const double real, const array &imaginary)
 Form a complex result from real and imaginary parts. More...
 

Detailed Description

Convert a real array into a complex array.

Converts a real array into a complex array

Function Documentation

array af::complex ( const array &  x)
array af::complex ( const array &  real,
const array &  imaginary 
)

Form a complex result from one real input.

Form a complex result from real and imaginary parts

array af::complex ( const array &  real,
const double  imaginary 
)

Form a complex result from real and imaginary parts.

array af::complex ( const double  real,
const array &  imaginary 
)

Form a complex result from real and imaginary parts.