Click or drag to resize

RandomNumberStreamFillT(IRandomNumberDistributionT, T) Method

Fills the given array with next random numbers from this stream.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void Fill<T>(
	IRandomNumberDistribution<T> distribution,
	T[] r
)

Parameters

distribution  IRandomNumberDistributionT
Desired distribution of the random numbers.
r  T
Array to be filled.

Type Parameters

T
Random number type.
See Also