lib/
gpusin.pro
Routines
result = gpuSin(p1, p2 [, p3] [, p4] [, p5] [, LHS=object] [, /NONBLOCKING] [, ERROR=integer])
Compute the sin of a vector
gpuSin, p1, p2 [, p3] [, p4] [, p5] [, p6] [, /NONBLOCKING] [, ERROR=integer]
Compute the sin of a vector
Routine details
top gpuSin
result = gpuSin(p1, p2 [, p3] [, p4] [, p5] [, LHS=object] [, /NONBLOCKING] [, ERROR=integer])
Compute the sin of a vector
There are two forms for the arguments to this routine:
Result = sin(p1)
where p1 is GPUVariable object or a numeric array and p2 is GPUVariable
object. Or:
Result = p1 * sin(p2 * p3 + p4) + p5
where p2 is GPUVariable object or a numerica array and p6 is GPUVariable
object and p1, p2, p4, and p5 are scalar values.
Return value
GPUVariable object
Parameters
- p1 in required type=numtype or GPUVariable object
- p2 in out required type=numtype or GPUVariable object
- p3 in optional type=GPUVariable object
- p4 in optional type=numtype
- p5 in optional type=numtype
Keywords
- LHS in optional type=object
pass GPU variable to use as return value
- NONBLOCKING in optional type=boolean
unless this keyword is set, this will block until the device has completed all preceding requested tasks
- ERROR out optional type=integer
error status
top gpuSin
gpuSin, p1, p2 [, p3] [, p4] [, p5] [, p6] [, /NONBLOCKING] [, ERROR=integer]
Compute the sin of a vector
There are two forms for the arguments to this routine:
p2 = sin(p1)
where p1 is GPUVariable object or a numeric array and p2 is GPUVariable object. Or:
p6 = p1 * sin(p2 * p3 + p4) + p5
where p2 is GPUVariable object or a numerica array and p6 is GPUVariable object and
p1, p2, p4, and p5 are scalar values.
Parameters
- p1 in required type=numeric or GPUVariable object
- p2 in out required type=numeric or GPUVariable object
- p3 in optional type=GPUVariable object
- p4 in optional type=numeric
- p5 in optional type=numeric
- p6 out optional type=GPUVariable object
Keywords
- NONBLOCKING in optional type=boolean
unless this keyword is set, this will block until the device has completed all preceding requested tasks
- ERROR out optional type=integer
error status
File attributes
Modification date: | Fri Nov 12 11:07:44 2010 |
Lines: | 246 |
Docformat: | rst rst |