Multivariate Continuous Distribution.Fill Sample Method
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Fill | Fills a vector with a random sample from the distribution. |
Fill | Fills a Double array with random numbers. |
FillSample(Random, Vector<Double>)
Fills a vector with a random sample from the distribution.
public void FillSample(
Random random,
Vector<double> sample
)
Parameters
Remarks
This method fills the vector specified by sample, with a single sample from the distribution.
Exceptions
Argument | sample is null. -or- random is null. |
Dimension | The length of sample does not equal the Order of the distribution. |
FillSample(Random, Double[])
Fills a Double array with random numbers.
public void FillSample(
Random random,
double[] sample
)
Parameters
Remarks
This method fills the array specified by sample, with random samples from the distribution.
Exceptions
Argument | sample is null. -or- random is null. |
Dimension | The length of sample does not equal the Order of the distribution. |