Creates a matrix whose columns contain independent random number streams where each stream follows a specified probablility distibution.

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

Syntax

C#
public FloatMatrix Next(
	IRandomNumberDistribution<float>[] distributions
)
Visual Basic (Declaration)
Public Function Next ( _
	distributions As IRandomNumberDistribution(Of Single)() _
) As FloatMatrix
Visual C++
public:
FloatMatrix^ Next(
	array<IRandomNumberDistribution<float>^>^ distributions
)

Parameters

distributions
Type: array< CenterSpace.NMath.Core..::.IRandomNumberDistribution<(Of <(Single>)>) >[]()[]
The desired probability distributions.

Return Value

A StreamLength x NumberOfStreams matrix where each column contains an independent random number stream. Column i of the returned matrix follows the distribution distributions[i].

See Also