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

Function random_normal

numpy/random/src/distributions/distributions.c:386–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384*/
385
386double random_normal(bitgen_t *bitgen_state, double loc, double scale) {
387 return loc + scale * random_standard_normal(bitgen_state);
388}
389
390double random_exponential(bitgen_t *bitgen_state, double scale) {
391 return scale * random_standard_exponential(bitgen_state);

Callers 1

random_lognormalFunction · 0.85

Calls 1

random_standard_normalFunction · 0.85

Tested by

no test coverage detected