procedure RandomGaussian(Dst: TMtxVec; mu: Double; sigma: Double; Method: TGaussRandMethod);
Generates an array of samples distributed by Gaussian distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
| 2 | mu | Double | scalar |
| 3 | sigma | Double | scalar |
| 4 | Method | TGaussRandMethod |
Result: stored in self (calling object)
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.