Click or drag to resize

QuasiRandomNumberGeneratorFill(IRandomNumberDistributionDouble, DoubleMatrix) Method

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  IRandomNumberDistributionDouble
Then desired probability distribution for the generated numbers.
M  DoubleMatrix
>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