sample
Return
generates an array of random values of size dimension
Fills the supplied array with a sample of values. This method avoids the creation of a new array. The size of the array must match dimension
Parameters
array
the array to fill with the sample
Generates a list holding the randomly generated arrays of the given dimension. Thus, the elements of the list are the arrays holding the sampled values.
Return
A list holding the generated arrays. There will be sampleSize array, each of size dimension
Parameters
sample Size
the amount to fill
Fills the supplied array of arrays with randomly generated samples
Parameters
values
the arrays to fill. Each array in the array of arrays, should have dimension elements. The number of arrays represents the required sample size