Description Usage Arguments Value See Also Examples
View source: R/random_number_genertor.R
This function generates log-normally distributed random numbers by using CUDA curand function CURAND_RNG_PSEUDO_DEFAULT and curandGenerateLogNormalDouble
1  | rlognormgpu(n, mean = 0, sd = 1, seed = 1)
 | 
n | 
 number of random numbers  | 
mean | 
 mean of log-normal distribution; default value 0  | 
sd | 
 standard deviation of log-normal 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 2  | a_gpu <- rlognormgpu(100, 0, 1, 15)
gathergpu(a_gpu)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.