void RandomGaussian(TMtxVec *Dst, const double mu, const double sigma, const TGaussRandMethod Method = TGaussRandMethod::grmBoxMuller);
Generates an array of samples distributed by Gaussian distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec * | |
| 2 | mu | const double | |
| 3 | sigma | const double | |
| 4 | Method = TGaussRandMethod::grmBoxMuller | const TGaussRandMethod |
Remarks:
Returns random numbers distributed according to the Gaussian probability density function (PDF) as defined here Probabilities::NormalPDF. The number of samples generated is defined with the Dst.Length parameter. The result is an array which can be accessed via Dst.Values property.
Declared in Dew::Math::TRngStream · Dew.Math/RndGenerators.h · Cross-compiler