Creates a matrix whose columns contain independent random number streams following the given probablility distibution.

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

Syntax

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

Parameters

distribution
Type: CenterSpace.NMath.Core..::.IRandomNumberDistribution<(Of <(Double>)>)
The desired probability distribution.

Return Value

A StreamLength x NumberOfStreams matrix where each column contains an independent random number stream from the given distribution.

See Also