MCPcopy Create free account
hub / github.com/numpy/numpy / random_pareto

Function random_pareto

numpy/random/src/distributions/distributions.c:472–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472double random_pareto(bitgen_t *bitgen_state, double a) {
473 return expm1(random_standard_exponential(bitgen_state) / a);
474}
475
476double random_weibull(bitgen_t *bitgen_state, double a) {
477 if (a == 0.0) {

Callers

nothing calls this directly

Calls 2

expm1Function · 0.85

Tested by

no test coverage detected