Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec RandUniform | The pseudo random sample generator with continuous uniform distribution. |
| 2 | TMtxVec RandUniform(Double aLow, Double aHigh) | Fills the calling object values with pseudo random samples following the continuous uniform distribution. |
| 3 | TMtxVec RandUniform(UInt32 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.
Result: stored in self (calling object), returns self for chaining
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.
Matrix a;
a.Size(10,10,false);
a.RandUniform(0,5);
Overload 2: TMtxVec RandUniform(Double aLow, Double aHigh)
Fills the calling object values with pseudo random samples following the continuous uniform distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aLow | Double | scalar |
| 2 | aHigh | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Use parameters Low and High. The value for the seed is obtained from the CPU clock.
Overload 3: TMtxVec RandUniform(UInt32 Seed, Double aLow, Double aHigh)
Fills the calling object values with pseudo random samples following the continuous uniform distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Seed | UInt32 | |
| 2 | aLow | Double | scalar |
| 3 | aHigh | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Use parameters Low and High and Seed.