nl_tokens: RANDOM // FUNCTION : random ( len mu sigma [ rand ] ) Creates an array of normally distributed random numbers .
pl_tokens: function random ( len , mu , sigma , rand ) { var out ; var draw ; var i ; draw = partial ( mu , sigma , rand ) ; // Ensure fast elements... if ( len < 64000 ) { out = new Array ( len ) ; for ( i = 0 ; i < len ; i ++ ) { out [ i ] = draw ( ) ; } } else { <mask> = [ ] ; for ( i = 0 ; i < len ; i ++ ) { out . push ( draw ( ) ) ; } } return out ; }