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

Function random_standard_cauchy

numpy/random/src/distributions/distributions.c:468–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468double random_standard_cauchy(bitgen_t *bitgen_state) {
469 return random_standard_normal(bitgen_state) / random_standard_normal(bitgen_state);
470}
471
472double random_pareto(bitgen_t *bitgen_state, double a) {
473 return expm1(random_standard_exponential(bitgen_state) / a);

Callers

nothing calls this directly

Calls 1

random_standard_normalFunction · 0.85

Tested by

no test coverage detected