procedure RandomCauchy(Dst: TMtxVec; mu: Double; b: Double);
Generates an array of samples distributed by Cauchy distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TMtxVec | source TVec or TMtx |
| 2 | mu | Double | scalar |
| 3 | b | Double | scalar |
Result: stored in self (calling object)
Remarks:
Returns random numbers distributed according to to the Cauchy probability density function (PDF) as defined here Probabilities.CauchyPDF. 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.