rpois: rpois

Description Usage Arguments Details References

Description

Generate from a poisson distribution using a gpu.

Usage

1
rpois(n, lambda = 1, seed = getseed(), type = "double")

Arguments

n

The number of values to generate

lambda

Parameter for poisson random variables.

seed

Seed for the random number generation.

type

Ignored; present only to match API with other generators. The return is always a vector of ints.

Details

Uses curand_poisson() 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.