Documentation Center

  • Trial Software
  • Product Updates

mxGPUCopyReal (C)

Copy real part of mxGPUArray

C Syntax

#include "gpu/mxGPUArray.h"
mxGPUArray* mxGPUCopyReal(mxGPUArray const * const mgp)



Pointer to an mxGPUArray.


Pointer to an mxGPUArray.


mxGPUCopyReal copies the real part of GPU data, and returns a new mxGPUArray object that refers to the copy. If the input is real rather than complex, the function returns a copy of the input.

Use mxGPUDestroyGPUArray to delete the result when you are done with it.

See Also


Was this topic helpful?