lib/
gpufix.pro
Routines
result = gpuFix(in [, TYPE=int] [, LHS=GPUVariable object] [, /OVERWRITE] [, ERROR=integer])
Converts a GPU array of one type into a GPU array of another type:
gpuFix, in, out [, TYPE=int] [, /OVERWRITE] [, ERROR=integer]
Converts a GPU array of one type into a GPU array of another type.
Routine details
top gpuFix
result = gpuFix(in [, TYPE=int] [, LHS=GPUVariable object] [, /OVERWRITE] [, ERROR=integer])
Converts a GPU array of one type into a GPU array of another type:
out = gpuFix(in, TYPE=type)
gpuFix, in, out, TYPE=type
Return value
GPUVariable object
Parameters
- in in required type=fltarr or GPUVariable object
input variable
Keywords
- TYPE in optional type=int
Type of the result vector
- LHS in optional type=GPUVariable object
pass GPU variable to use as return value
- OVERWRITE in optional type=boolean
Replaces the input vector
- ERROR out optional type=integer
error status
top gpuFix
gpuFix, in, out [, TYPE=int] [, /OVERWRITE] [, ERROR=integer]
Converts a GPU array of one type into a GPU array of another type.
Parameters
- in in required type=fltarr or GPUVariable object
- out out required type=GPUVariable object
Keywords
- TYPE in optional type=int
type of the result vector as returned by SIZE i.e. 4 for float, 5 for double, 6 for complex, and 9 for double complex
- OVERWRITE in optional type=boolean
Overwrite the input vector
- ERROR out optional type=integer
error status
File attributes
Modification date: | Fri Nov 12 11:07:46 2010 |
Lines: | 178 |
Docformat: | rst rst |