TMtx::RandUniform Method

Overload List

#SignatureDescription
1TMtxVec *RandUniform();The pseudo random sample generator with continuous uniform distribution.
2TMtxVec *RandUniform(double aLow, double aHigh);Fills the calling object values with pseudo random samples following the continuous uniform distribution.
3TMtxVec *RandUniform(unsigned int Seed, double aLow, double aHigh);Fills the calling object values with pseudo random samples following the continuous uniform distribution.

Overload 1: TMtxVec *RandUniform();

The pseudo random sample generator with continuous uniform distribution.

Remarks:

Fills the calling object values with pseudo random samples following the continuous uniform distribution using the parameters Low = 0, High = 1. The value for the seed is obtained from the CPU clock.

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

Overload 2: TMtxVec *RandUniform(double aLow, double aHigh);

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

#NameTypeDescription
1aLowdouble
2aHighdouble
Remarks:

The algorithm used parameters Low and High. 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 *RandUniform(unsigned int Seed, double aLow, double aHigh);

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

#NameTypeDescription
1Seedunsigned int
2aLowdouble
3aHighdouble
Remarks:

The algorithm uses parameters Low and High and Seed.

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