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

Function random_chisquare

numpy/random/src/distributions/distributions.c:459–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457}
458
459double random_chisquare(bitgen_t *bitgen_state, double df) {
460 return 2.0 * random_standard_gamma(bitgen_state, df / 2.0);
461}
462
463double random_f(bitgen_t *bitgen_state, double dfnum, double dfden) {
464 return ((random_chisquare(bitgen_state, dfnum) * dfden) /

Callers 3

random_fFunction · 0.85
random_noncentral_fFunction · 0.85

Calls 1

random_standard_gammaFunction · 0.85

Tested by

no test coverage detected