Constructor for creating ndarrays filled with pseudorandom values drawn from a binary PRNG.
Create a function for generating pseudorandom values drawn from a binary PRNG.
Constructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.
Create a factory function for generating pseudorandom values drawn from a binary PRNG.
C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.
Constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.
Return a function which tests if every element in an array passes a test condition.
Random numbers.
Continued fraction approximation.
Format an error message for production.
Uniformly distributed pseudorandom numbers.
A 32-bit Mersenne Twister pseudorandom number generator.
Return an unsigned 32-bit integer corresponding to the IEEE 754 binary representation of a single-precision floating-point number.
Common APIs shared across base pseudorandom number generators.
Evaluate a polynomial using double-precision floating-point arithmetic.
A linear congruential pseudorandom number generator (LCG) based on Park and Miller.
A linear congruential pseudorandom number generator (LCG) whose output is shuffled.
Uniformly distributed pseudorandom numbers between 0 and 1.
Compute the sum of an infinite series.
Beta distributed pseudorandom numbers.
Normally distributed pseudorandom numbers using the improved Ziggurat method.
Gamma distribution cumulative distribution function (CDF).
Round a double-precision floating-point number toward zero.
Discrete uniform distributed pseudorandom numbers.