RandomSamplingNextDoubleMatrix Method |
Namespace: Novacta.Analytics
Method NextDoubleMatrix returns a sample represented as a DoubleMatrix instance, having one row and a number of columns equal to PopulationSize. In this context, the sample is the set of linear indexes corresponding to entries in the returned matrix equal to 1, other entries storing 0 otherwise. For an introduction to linear indexes, see the remarks of the DoubleMatrix class.