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

Function random_gamma

numpy/random/src/distributions/distributions.c:398–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398double random_gamma(bitgen_t *bitgen_state, double shape, double scale) {
399 return scale * random_standard_gamma(bitgen_state, shape);
400}
401
402float random_gamma_f(bitgen_t *bitgen_state, float shape, float scale) {
403 return scale * random_standard_gamma_f(bitgen_state, shape);

Callers 1

random_negative_binomialFunction · 0.85

Calls 1

random_standard_gammaFunction · 0.85

Tested by

no test coverage detected