Vector::RandGauss Method

Overload List

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

Overload 1: TMtxVec *RandGauss() const;

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: Vector::RandUniform
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1AMeandouble
2AStdDevdouble
Remarks:

Parameters: AMean and AStdDev. The value for the seed is obtained from the CPU clock.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1Seedunsigned int
2AMeandouble
3AStdDevdouble
Remarks:

Parameters: AMean, AStdDev and with Seed.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler