lib/
gpurandomn.pro
Routines
result = gpuRandomn(seed, nx [, ny] [, LHS=GPUVariable object] [, ERROR=integer])
This routine generates normally distributed random numbers on the GPU
gpuRandomn, seed, nx [, ny], x_gpu [, ERROR=integer]
This routine generates normally distributed random numbers on the GPU
Routine details
top gpuRandomn
result = gpuRandomn(seed, nx [, ny] [, LHS=GPUVariable object] [, ERROR=integer])
This routine generates normally distributed random numbers on the GPU
Return value
GPUVariable object
Parameters
- seed in required type=int
seed for RNG. Can be undefined
- nx in required type=int
x-dimension of resulting random array
- ny out optional type=int
y-dimension of resulting random array
Keywords
- LHS in optional type=GPUVariable object
pass GPU variable to use as return value
- ERROR out optional type=integer
error status
top gpuRandomn
gpuRandomn, seed, nx [, ny], x_gpu [, ERROR=integer]
This routine generates normally distributed random numbers on the GPU
Parameters
- seed in required type=int
seed for RNG. Can be undefined
- nx in required type=int
x-dimension of resulting random array
- ny out optional type=int
y-dimension of resulting random array
- x_gpu in required type={ GPUHANLE }
variable to store random numbers in
Keywords
- ERROR out optional type=integer
error status
File attributes
Modification date: | Fri Nov 12 11:07:46 2010 |
Lines: | 80 |
Docformat: | rst rst |