TRngStream::RandomCauchy Method

void RandomCauchy(TMtxVec *Dst, const double mu, const double b);

Generates an array of samples distributed by Cauchy distribution.

#NameTypeDescription
1DstTMtxVec *
2muconst double
3bconst double
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.

Declared in Dew::Math::TRngStream · Dew.Math/RndGenerators.h · Cross-compiler