lib/
gpucomplex.pro
Routines
result = gpucomplex(p1 [, p2] [, LHS=GPUVariable object] [, ERROR=integer])This routine converts an input array into a complex GPU array.
gpuComplex, p1, p2 [, p3] [, ERROR=integer]This routine converts an input array into a complex GPU array.
Routine details
top gpucomplex
result = gpucomplex(p1 [, p2] [, LHS=GPUVariable object] [, ERROR=integer])
This routine converts an input array into a complex GPU array.
 There are two forms for the arguments to this routine:
 result = gpuCOMPLEX(p1)
 where p1 is a GPUVariable object or a numeric array. Or:
 result = gpuCOMPLEX(p1, p2)
 where p1, p2 are GPUVariable object or a numeric array and real and imaginary
 parts respectively.
Return value
GPUVariable object
Parameters
- p1 in required type=numtype or GPUVariable object
 real part of array to be converted
- p2 in optional type=numtype or GPUVariable object
 imaginary part of array to be converted
Keywords
- LHS in optional type=GPUVariable object
 pass GPU variable to use as return value
- ERROR out optional type=integer
 error status
top gpuComplex
gpuComplex, p1, p2 [, p3] [, ERROR=integer]
This routine converts an input array into a complex GPU array.
Parameters
- p1 in required type=numtype or GPUVariable object
 array of the real parts to be converted
- p2 in out required type=GPUVariable object
 array of the imaginary parts to be converted or the GPU array of the converted input
- p3 out optional type=GPUVariable object
 GPU array of the converted input
Keywords
- ERROR out optional type=integer
 error status
File attributes
| Modification date: | Fri Nov 12 11:07:45 2010 | 
| Lines: | 170 | 
| Docformat: | rst rst |