 | DoubleRandomGaussianDistributionFill Method (RandomNumberStream, Double, Int32, Int32) |
Uses the given random number stream to fill the given array of
integers with random values.
Namespace:
CenterSpace.NMath.Core
Assembly:
NMath (in NMath.dll) Version: 7.4
Syntaxpublic void Fill(
RandomNumberStream stream,
double[] v,
int start,
int n
)
Public Sub Fill (
stream As RandomNumberStream,
v As Double(),
start As Integer,
n As Integer
)
public:
virtual void Fill(
RandomNumberStream^ stream,
array<double>^ v,
int start,
int n
) sealed
abstract Fill :
stream : RandomNumberStream *
v : float[] *
start : int *
n : int -> unit
override Fill :
stream : RandomNumberStream *
v : float[] *
start : int *
n : int -> unit
Parameters
- stream
- Type: CenterSpace.NMath.CoreRandomNumberStream
Random number stream. - v
- Type: SystemDouble
Vector to fill. - start
- Type: SystemInt32
Index at which to start placing random deviates. - n
- Type: SystemInt32
Number of random deviates to produce.
Implements
IRandomNumberDistributionTFill(RandomNumberStream, T, Int32, Int32)
Exceptions
Remarksv must be initialized before calling this method.
See Also