| RandomNumberStreamNextT Method |
Fills a new array with next random numbers from this stream.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public T[] Next<T>(
IRandomNumberDistribution<T> distribution,
int n
)
Public Function Next(Of T) (
distribution As IRandomNumberDistribution(Of T),
n As Integer
) As T()
public:
generic<typename T>
array<T>^ Next(
IRandomNumberDistribution<T>^ distribution,
int n
)
member Next :
distribution : IRandomNumberDistribution<'T> *
n : int -> 'T[]
Parameters
- distribution IRandomNumberDistributionT
- Desired distribution of the random numbers.
- n Int32
- Number of random numbers.
Type Parameters
- T
- Random number type.
Return Value
TArray of random numbers.
See Also