Skip to main content

geometric

Function geometric 

Source
pub fn geometric(p: f64) -> f64
Expand description

A geometrically distributed random number (failures before the first success) with success probability p in (0, 1]; NaN for an invalid p (igraph_rng_get_geom).