MCPcopy Create free account
hub / github.com/aistrate/AlgorithmsSedgewick / geometric

Method geometric

StdLib/StdRandom.java:167–170  ·  view source on GitHub ↗

Return an integer with a geometric distribution with mean 1/p.

(double p)

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
ceilMethod · 0.45

Tested by

no test coverage detected