Description Usage Arguments Value See Also Examples
View source: R/random_number_genertor.R
This function generates Poisson distributed random numbers by using CUDA curand function CURAND_RNG_PSEUDO_DEFAULT and curandGeneratePoisson
| 1 | rpoisgpu(n, lambda = 1, seed = 1)
 | 
| n | number of random numbers | 
| lambda | mean of Poisson distribution; default value 1 | 
| seed | random number generator seed; default value 1 | 
generated random numbers vector, a list consisting of
ptr: GPU pointer
m: number of rows
n: number of columns
| 1 | a_gpu <- rpoisgpu(100, 1) 
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.