Returns an array of independent random number streams with the given distribution.

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

Syntax

C#
public virtual T[][] Next<T>(
	IRandomNumberDistribution<T> distribution
)
Visual Basic (Declaration)
Public Overridable Function Next(Of T) ( _
	distribution As IRandomNumberDistribution(Of T) _
) As T()()
Visual C++
public:
generic<typename T>
virtual array<array<T>^>^ Next(
	IRandomNumberDistribution<T>^ distribution
)

Parameters

distribution
Type: CenterSpace.NMath.Core..::.IRandomNumberDistribution<(Of <(T>)>)
The desired probablility distribution.

Type Parameters

T
Data type of generated deviates.

Return Value

An array of independent random number streams. For each i, T[i] is an array of random deviates of length StreamLength

See Also