MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 526

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 525
11 Functions — Alphabetical List
11-182
mxGPUCopyImag (C)
Copy imaginary part of mxGPUArray
C Syntax
#include "gpu/mxGPUArray.h"
mxGPUArray* mxGPUCopyImag(mxGPUArray const * const mgp)
Arguments
mgp
Pointer to an mxGPUArray. The target gpuArray must be full, not sparse.
Returns
Pointer to an mxGPUArray.
Description
mxGPUCopyImag copies the imaginary part of GPU data, and returns a new mxGPUArray
object that refers to the copy. The returned array is real, with element values equal to the
imaginary values of the input, similar to how the MATLAB imag function behaves. If the
input is real rather than complex, the function returns an array of zeros.
Use mxGPUDestroyGPUArray to delete the result when you are done with it.
See Also
mxGPUCopyReal | mxGPUDestroyGPUArray
Zobrazit stránku 525
1 2 ... 521 522 523 524 525 526 527 528 529 530 531 ... 655 656

Komentáře k této Příručce

Žádné komentáře