MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / poisson

Method poisson

code/algs4/StdRandom.java:252–267  ·  view source on GitHub ↗

Returns a random integer from a Poisson distribution with mean λ. @param lambda the mean of the Poisson distribution @return a random integer from a Poisson distribution with mean lambda @throws IllegalArgumentException unless lambda > 0.0 and not infinite

(double lambda)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

uniformMethod · 0.95
expMethod · 0.80

Tested by

no test coverage detected