A Mersenne Twister random number generator.
Optional
seed: numberThe seed for the random number generator. If seed
is null
then the actual time gets used.
Protected
_cProtected
Optional
_gProtected
_initProtected
_lowerProtected
_pMProtected
_pNProtected
_sProtected
_seedProtected
_upperGets the current seed value.
The current seed value.
Setter for the seed property of the Randomizer class.
The seed value to set.
Returns an array of n
random samples from the given data.
The matrix or 2D array to sample from.
The number of samples to return.
An array of n
rows from the input data, randomly selected.
An error if n
is greater than the number of rows in the input data.
Static
randomStatic
randomStatic
randomStatic
samplesReturns a random sample of size n
from the given data.
The data to sample from.
The size of the sample to return.
A random sample of size n
from the given data.
A Mersenne Twister random number generator.