create complex arrays
More...
create complex arrays
C Interface for creating complex array from real array.
- Parameters
-
| [out] | out | will contain complex array created from real input in |
| [in] | in | is real array |
- Returns
- AF_SUCCESS if the execution completes properly
C Interface for creating complex array from two input arrays.
- Parameters
-
| [out] | out | will contain the complex array generated from inputs |
| [in] | lhs | is real array |
| [in] | rhs | is imaginary array |
| [in] | batch | specifies if operations need to be performed in batch mode |
- Returns
- AF_SUCCESS if the execution completes properly
| AFAPI array af::complex |
( |
const array & |
lhs, |
|
|
const array & |
rhs |
|
) |
| |
C++ Interface for creating complex array from two inputs.
Creates a complex number from two sets of inputs. The left hand side is the real part and the right hand side is the imaginary part. This function accepts two af::array or one af::array and a scalar as nputs.
- Parameters
-
| [in] | lhs | is real value(s) |
| [in] | rhs | is imaginary value(s) |
- Returns
- complex array from inputs
- Examples:
- graphics/fractal.cpp.
| AFAPI array af::complex |
( |
const array & |
lhs, |
|
|
const double |
rhs |
|
) |
| |
C++ Interface for creating complex array from two inputs.
Creates a complex number from two sets of inputs. The left hand side is the real part and the right hand side is the imaginary part. This function accepts two af::array or one af::array and a scalar as nputs.
- Parameters
-
| [in] | lhs | is real value(s) |
| [in] | rhs | is imaginary value(s) |
- Returns
- complex array from inputs
| AFAPI array af::complex |
( |
const double |
lhs, |
|
|
const array & |
rhs |
|
) |
| |
C++ Interface for creating complex array from two inputs.
Creates a complex number from two sets of inputs. The left hand side is the real part and the right hand side is the imaginary part. This function accepts two af::array or one af::array and a scalar as nputs.
- Parameters
-
| [in] | lhs | is real value(s) |
| [in] | rhs | is imaginary value(s) |
- Returns
- complex array from inputs
| AFAPI array af::complex |
( |
const array & |
in | ) |
|
C++ Interface for creating complex array from real array.
- Parameters
-
- Returns
- complex array from
in