Creates a double precision matrix filled with quasirandom points which follow the given probability distribution. The columns of the matrix are the points, and hence the matrix will contain Dimension rows and numSamples columns.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public DoubleMatrix Next(
	IRandomNumberDistribution<double> distribution,
	int numSamples
)
Visual Basic (Declaration)
Public Function Next ( _
	distribution As IRandomNumberDistribution(Of Double), _
	numSamples As Integer _
) As DoubleMatrix
Visual C++
public:
DoubleMatrix^ Next(
	IRandomNumberDistribution<double>^ distribution, 
	int numSamples
)

Parameters

distribution
Type: CenterSpace.NMath.Core..::.IRandomNumberDistribution<(Of <(Double>)>)
The desired distribution for the quasirandom points.
numSamples
Type: System..::.Int32
The desired number of points.

Return Value

A Dimension x numSamples matrix whose colums are quasirandom points following the given distribution.

See Also