Matrix::RandUniform Method

Overload List

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

Overload 1: TMtxVec *RandUniform() const;

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

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

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

#NameTypeDescription
1aLowdouble
2aHighdouble
Remarks:

Use parameters Low and High. The value for the seed is obtained from the CPU clock.

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

Overload 3: TMtxVec *RandUniform(unsigned int Seed, double aLow, double aHigh) const;

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

#NameTypeDescription
1Seedunsigned int
2aLowdouble
3aHighdouble
Remarks:

Use parameters Low and High and Seed.

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