Pseudorandom number generator (PRNG) array creation function tools.
var ns = require( '@stdlib/random/array/tools' );Namespace containing array creation pseudorandom number generator (PRNG) function tools.
var o = ns;
// returns {...}The namespace contains the following:
binaryFactory( prng, dtypes, dtype ): create a factory function for generating pseudorandom values drawn from a binary PRNG.binary( prng, dtypes, dtype ): constructor for creating arrays filled with pseudorandom values drawn from a binary PRNG.nullary( prng, dtypes, dtype ): constructor for creating arrays filled with pseudorandom values drawn from a nullary PRNG.ternaryFactory( prng, dtypes, dtype ): create a factory function for generating pseudorandom values drawn from a ternary PRNG.ternary( prng, dtypes, dtype ): constructor for creating arrays filled with pseudorandom values drawn from a ternary PRNG.unaryFactory( prng, dtypes, dtype ): create a factory function for generating pseudorandom values drawn from a unary PRNG.unary( prng, dtypes, dtype ): constructor for creating arrays filled with pseudorandom values drawn from a unary PRNG.
var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/random/array/tools' );
console.log( objectKeys( ns ) );