| RandomNumberStreamFillT(IRandomNumberDistributionT, T) Method |
Fills the given array with next random numbers from this stream.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void Fill<T>(
IRandomNumberDistribution<T> distribution,
T[] r
)
Public Sub Fill(Of T) (
distribution As IRandomNumberDistribution(Of T),
r As T()
)
public:
generic<typename T>
void Fill(
IRandomNumberDistribution<T>^ distribution,
array<T>^ r
)
member Fill :
distribution : IRandomNumberDistribution<'T> *
r : 'T[] -> unit
Parameters
- distribution IRandomNumberDistributionT
- Desired distribution of the random numbers.
- r T
- Array to be filled.
Type Parameters
- T
- Random number type.
See Also