rnorm: rnorm

Description Usage Arguments Details References

Description

Generate from a normal distribution using a gpu.

Usage

1
rnorm(n, mean = 0, sd = 1, seed = getseed(), type = "double")

Arguments

n

The number of values to generate

mean, sd

Parameters for normal random variables.

seed

Seed for the random number generation.

type

'double' or 'float'

Details

Uses curand_normal() from cuRAND.

References

CUDA Toolkit Documentation for cuRAND https://docs.nvidia.com/cuda/curand/index.html


wrathematics/curand documentation built on May 20, 2019, 9:57 a.m.