Gaussian Mixture Distribution.Fill Sample Core Method
Fills a vector with a random sample from the distribution.
Definition
Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected override void FillSampleCore(
Random random,
Vector<double> sample
)
Parameters
- random Random
- A Random object that specifies the uniform random number generator that is to be used to generate the samples.
- sample Vector<Double>
- A vector.
Remarks
This method fills the vector specified by sample, with a single sample from the distribution.
Exceptions
ArgumentNullException | sample is null.
-or- random is null. |