TMtx::RandGauss Method

Overload List

#SignatureDescription
1TMtxVec *RandGauss();The pseudo random sample generator with Gaussian distribution.
2TMtxVec *RandGauss(double AMean, double AStdDev);Fills the calling object values with pseudo random samples following the Gaussian distribution.
3TMtxVec *RandGauss(unsigned int Seed, double AMean, double AStdDev);Fills the calling object values with pseudo random samples following the Gaussian distribution.

Overload 1: TMtxVec *RandGauss();

The pseudo random sample generator with Gaussian distribution.

Remarks:

Fills the calling object values with pseudo random samples following the Gaussian distribution with parameters: Mean = 0, StdDev = 1 ("Standard disctribution"). The value for the seed is obtained from the CPU clock.

See Also: TMtx::RandUniform
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *RandGauss(double AMean, double AStdDev);

Fills the calling object values with pseudo random samples following the Gaussian distribution.

#NameTypeDescription
1AMeandouble
2AStdDevdouble
Remarks:

The algorithm uses parameter AMean and AStdDev. The value for the seed is obtained from the CPU clock.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *RandGauss(unsigned int Seed, double AMean, double AStdDev);

Fills the calling object values with pseudo random samples following the Gaussian distribution.

#NameTypeDescription
1Seedunsigned int
2AMeandouble
3AStdDevdouble
Remarks:

The algorithm uses parameters AMean, AStdDev and Seed.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler