| UnequalProbabilityRandomSamplingNextDoubleMatrix Method |
Draws a random sample represented as a
DoubleMatrix
instance.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public override DoubleMatrix NextDoubleMatrix()
Public Overrides Function NextDoubleMatrix As DoubleMatrix
public:
virtual DoubleMatrix^ NextDoubleMatrix() override
abstract NextDoubleMatrix : unit -> DoubleMatrix
override NextDoubleMatrix : unit -> DoubleMatrix
Return Value
Type:
DoubleMatrixThe matrix of doubles representing the sample.
Remarks
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.
See Also