Tools
Pseudorandom number generator (PRNG) strided array function tools.
Usage
var ns = require( '@stdlib/random/strided/tools' );
ns
Namespace containing strided array pseudorandom number generator (PRNG) function tools.
var o = ns;
// returns {...}
The namespace contains the following:
binaryFactory( prng )
: create a factory function for filling strided arrays with pseudorandom values drawn from a binary PRNG.ternaryFactory( prng )
: create a factory function for filling strided arrays with pseudorandom values drawn from a ternary PRNG.unaryFactory( prng )
: create a factory function for filling strided arrays with pseudorandom values drawn from a unary PRNG.
Examples
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/random/strided/tools' );
console.log( objectKeys( ns ) );