sampleByColumn

open fun sampleByColumn(sampleSize: Int): Array<DoubleArray>

Generates a sample by columns of values. The returned array will hold arrays of values, with each element being an array of size sampleSize. That is a 2-D array with nRows = dimension and nColumns = sample size