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

Function random_exponential

numpy/random/src/distributions/distributions.c:390–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390double random_exponential(bitgen_t *bitgen_state, double scale) {
391 return scale * random_standard_exponential(bitgen_state);
392}
393
394double random_uniform(bitgen_t *bitgen_state, double lower, double range) {
395 return lower + range * next_double(bitgen_state);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected