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

Function rk_uint32

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

* Returns an unsigned 32 bit random integer. */

Source from the content-addressed store, hash-verified

257 * Returns an unsigned 32 bit random integer.
258 */
259static inline npy_uint32 rk_uint32(rk_state *state) {
260 return (npy_uint32)rk_random(state);
261}
262
263/*
264 * Fills an array with cnt random npy_uint64 between off and off + rng

Callers 5

rk_random_uint64Function · 0.85
rk_random_uint32Function · 0.85
rk_random_uint16Function · 0.85
rk_random_uint8Function · 0.85
rk_random_boolFunction · 0.85

Calls 1

rk_randomFunction · 0.85

Tested by

no test coverage detected