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

Function rk_altfill

numpy/random/src/mt19937/randomkit.c:546–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546rk_error rk_altfill(void *buffer, size_t size, int strong, rk_state *state) {
547 rk_error err;
548
549 err = rk_devfill(buffer, size, strong);
550 if (err) {
551 rk_fill(buffer, size, state);
552 }
553 return err;
554}
555
556double rk_gauss(rk_state *state) {
557 if (state->has_gauss) {

Callers

nothing calls this directly

Calls 2

rk_devfillFunction · 0.85
rk_fillFunction · 0.85

Tested by

no test coverage detected