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

Function random_rayleigh

numpy/random/src/distributions/distributions.c:528–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528double random_rayleigh(bitgen_t *bitgen_state, double mode) {
529 return mode * sqrt(2.0 * random_standard_exponential(bitgen_state));
530}
531
532double random_standard_t(bitgen_t *bitgen_state, double df) {
533 double num, denom;

Callers

nothing calls this directly

Calls 2

sqrtFunction · 0.50

Tested by

no test coverage detected