We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94dd83 commit 3a48a5cCopy full SHA for 3a48a5c
1 file changed
src/PoissonRandom.jl
@@ -123,13 +123,16 @@ Generates Poisson(λ) distributed random numbers using a fast polyalgorithm.
123
## Examples
124
125
```julia
126
-# Simple Poisson random which works on GPU
+# Simple Poisson random
127
pois_rand(λ)
128
129
-# Using RNG
+# Using another RNG
130
using RandomNumbers
131
rng = Xorshifts.Xoroshiro128Plus()
132
pois_rand(rng, λ)
133
+
134
+# Simple Poisson random on GPU
135
+pois_rand(PassthroughRNG(), λ)
136
```
137
"""
138
pois_rand(λ) = pois_rand(Random.GLOBAL_RNG, λ)
0 commit comments