lib/typedarray.js
function random( len, dt, mu, sigma, rand ) {
	/* jshint newcap:false */
	var ctor;
	var out;
	var draw;
	var i;

	draw = partial( mu, sigma, rand );
	ctor = ctors( dt );
	if ( ctor === null ) {
		throw new Error( 'invalid value. Data type does not have a corresponding array constructor. Value: `' + dt + '`.' );
	}
	out = new ctor( len );
	for ( i = 0; i < len; i++ ) {
		out[ i ] = draw();
	}
	return out;
}
function random( len, dt, mu, sigma, rand ) {
	/* jshint newcap:false */
	var ctor;
	var out;
	var draw;
	var i;

	draw = partial( mu, sigma, rand );
	ctor = ctors( dt );
	if ( ctor === null ) {
		throw new Error( 'invalid value. Data type does not have a corresponding array constructor. Value: `' + dt + '`.' );
	}
	out = new ctor( len );
	for ( i = 0; i < len; i++ ) {
		out[ i ] = draw();
	}
	return out;
}
function random ( len , dt , mu , sigma , rand ) { /* jshint newcap:false */ var ctor ; var out ; var draw ; var i ; draw = partial ( mu , sigma , rand ) ; ctor = ctors ( dt ) ; if ( ctor === null ) { throw new Error ( 'invalid value. Data type does not have a corresponding array constructor. Value: `' + dt + '`.' ) ; } out = new ctor ( len ) ; for ( i = 0 ; i < len ; i ++ ) { out [ i ] = draw ( ) ; } return out ; }
RANDOM // 
FUNCTION: random( len, dt, mu, sigma[, rand] )
Creates a typed array of normally distributed random numbers.

@param {Number} len - array length
@param {String} dt - data type
@param {Number} mu - mean parameter
@param {Number} sigma - standard deviation
@param {Function} [rand=Math.random] - random number generator
@returns {Int8Array|Uint8Array|Uint8ClampedArray|Int16Array|Uint16Array|Int32Array|Uint32Array|Float32Array|Float64Array} typed array filled with normal random numbers
RANDOM // FUNCTION : random ( len dt mu sigma [ rand ] ) Creates a typed array of normally distributed random numbers .