Usage
rpg(num=1, n=1, z=0.0, batch=32, local=128, staticseed=FALSE,
seed=0, float=0, ptr=NULL, device=0)
Arguments
num
the number of random variates to simulate.
n
shape parameter, a positive integer.
z
parameter associated with tilting.
batch
the number of samples created by each GPU thread
local
the number of threads in a thread-block on a GPU
staticseed
parameter to determine whether to use a static seed or not.
seed
the value of the static seed, if used.
float
parameter to determine whether to use single-precision floating point or double-precision floating point.
ptr
an external pointer to the C structure with the GPU helper variables.
device
if no external pointer is provided to function, we can provide the ID of the device to use.