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

Function random_f

numpy/random/src/distributions/distributions.c:463–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463double random_f(bitgen_t *bitgen_state, double dfnum, double dfden) {
464 return ((random_chisquare(bitgen_state, dfnum) * dfden) /
465 (random_chisquare(bitgen_state, dfden) * dfnum));
466}
467
468double random_standard_cauchy(bitgen_t *bitgen_state) {
469 return random_standard_normal(bitgen_state) / random_standard_normal(bitgen_state);

Callers

nothing calls this directly

Calls 1

random_chisquareFunction · 0.85

Tested by

no test coverage detected