 | IRandomNumberDistributionTFill Method |
Use the given random number stream to fill a vector with random numbers
which follow a particular probability distribution (to be specifed by
implementing classes).
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.3
Syntaxvoid Fill(
RandomNumberStream stream,
T[] v,
int start,
int n
)
Sub Fill (
stream As RandomNumberStream,
v As T(),
start As Integer,
n As Integer
)
void Fill(
RandomNumberStream^ stream,
array<T>^ v,
int start,
int n
)
abstract Fill :
stream : RandomNumberStream *
v : 'T[] *
start : int *
n : int -> unit
Parameters
- stream
- Type: CenterSpace.NMath.CoreRandomNumberStream
Random number stream. - v
- Type: T
Vector to fill. - start
- Type: SystemInt32
Index at which to start placing random deviates. - n
- Type: SystemInt32
Number of random deviates to produce.
See Also