File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name = " PoissonRandom"
22uuid = " e409e4f3-bfea-5376-8464-e040bb5c01ab"
3- version = " 0.4.6 "
3+ version = " 0.4.7 "
44
55[deps ]
66LogExpFunctions = " 2ab3a3ac-af41-5b50-aa03-7779005ae688"
Original file line number Diff line number Diff line change @@ -8,13 +8,9 @@ export pois_rand, PassthroughRNG
88# GPU-compatible Poisson sampling via PassthroughRNG
99struct PassthroughRNG <: AbstractRNG end
1010
11- rand (rng:: PassthroughRNG ) = Random. rand ()
12- randexp (rng:: PassthroughRNG ) = Random. randexp ()
13- randn (rng:: PassthroughRNG ) = Random. randn ()
14-
15- rand (rng:: AbstractRNG ) = Random. rand (rng)
16- randexp (rng:: AbstractRNG ) = Random. randexp (rng)
17- randn (rng:: AbstractRNG ) = Random. randn (rng)
11+ Random. rand (rng:: PassthroughRNG ) = rand ()
12+ Random. randexp (rng:: PassthroughRNG ) = randexp ()
13+ Random. randn (rng:: PassthroughRNG ) = randn ()
1814
1915count_rand (λ) = count_rand (Random. GLOBAL_RNG, λ)
2016function count_rand (rng:: AbstractRNG , λ)
You can’t perform that action at this time.
0 commit comments