Click or drag to resize

QuasiRandomNumberGeneratorFill Method (IRandomNumberDistributionDouble, DoubleMatrix)

Fills the given double precision matrix with M.Cols quasirandom points. The points are the columns of the matrix, hence the number of rows in the given matrix must be equal to the Dimension. The quasirandom numbers will follow the given distribution.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
public void Fill(
	IRandomNumberDistribution<double> distribution,
	DoubleMatrix M
)

Parameters

distribution
Type: CenterSpace.NMath.CoreIRandomNumberDistributionDouble
Then desired probability distribution for the generated numbers.
M
Type: CenterSpace.NMath.CoreDoubleMatrix
>Matrix to fill. M must have Dimension rows.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of rows in the input matrix is not equal to Dimension.
See Also