User`s guide

11 Functions — Alphabetical List
11-184
mxGPUCreateComplexGPUArray (C)
Create complex GPU array from two real gpuArrays
C Syntax
#include "gpu/mxGPUArray.h"
mxGPUArray* mxGPUCreateComplexGPUArray(mxGPUArray const * const mgpR,
mxGPUArray const * const mgpI)
Arguments
mgpRmgpI
Pointers to mxGPUArray data containing real and imaginary coefficients. The target
gpuArrays must be full, not sparse.
Returns
Pointer to an mxGPUArray.
Description
mxGPUCreateComplexGPUArray creates a new complex mxGPUArray from two
real mxGPUArray objects. The function allocates memory on the GPU and copies
the data. The inputs must both be real, and have matching sizes and classes. Use
mxGPUDestroyGPUArray to delete the result when you are done with it.
See Also
mxGPUDestroyGPUArray