| IndependentRandomStreamsNextT(IRandomNumberDistributionT) Method |
Returns an array of independent random number streams with the given
distribution.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public virtual T[][] Next<T>(
IRandomNumberDistribution<T> distribution
)
Public Overridable Function Next(Of T) (
distribution As IRandomNumberDistribution(Of T)
) As T()()
public:
generic<typename T>
virtual array<array<T>^>^ Next(
IRandomNumberDistribution<T>^ distribution
)
abstract Next :
distribution : IRandomNumberDistribution<'T> -> 'T[][]
override Next :
distribution : IRandomNumberDistribution<'T> -> 'T[][]
Parameters
- distribution IRandomNumberDistributionT
- The desired probablility distribution.
Type Parameters
- T
- Data type of generated deviates.
Return Value
TAn array of independent random number streams. For each
i, T[i] is
an array of random deviates of length
StreamLengthSee Also