Pseudorandom number generator ndarray creation function tools.
var ns = require( '@stdlib/random/tools' );Pseudorandom number generator ndarray creation function tools.
var o = ns;
// returns {...}The namespace exports the following:
binaryFactory( prng, idtypes, odtypes, policies[, options] ): create a function for generating pseudorandom values drawn from a binary PRNG.binary( prng, idtypes, odtypes, policies[, options] ): constructor for creating ndarrays filled with pseudorandom values drawn from a binary PRNG.ternaryFactory( prng, idtypes, odtypes, policies[, options] ): create a function for generating pseudorandom values drawn from a ternary PRNG.ternary( prng, idtypes, odtypes, policies[, options] ): constructor for creating ndarrays filled with pseudorandom values drawn from a ternary PRNG.unaryFactory( prng, idtypes, odtypes, policies[, options] ): create a function for generating pseudorandom values drawn from a unary PRNG.unary( prng, idtypes, odtypes, policies[, options] ): constructor for creating ndarrays filled with pseudorandom values drawn from a unary PRNG.
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/random/tools' );
console.log( objectKeys( ns ) );