Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec RandGauss | The pseudo random sample generator with Gaussian distribution. |
| 2 | TMtxVec RandGauss(Double AMean, Double AStdDev) | Fills the calling object values with pseudo random samples following the Gaussian distribution. |
| 3 | TMtxVec RandGauss(UInt32 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.
Result: stored in self (calling object), returns self for chaining
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.
Matrix a;
a.Size(50,10,false);
a.RandGauss;
Overload 2: TMtxVec RandGauss(Double AMean, Double AStdDev)
Fills the calling object values with pseudo random samples following the Gaussian distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AMean | Double | pre-computed mean |
| 2 | AStdDev | Double | output std deviation |
Result: stored in self (calling object), returns self for chaining
The algorithm uses parameter AMean and AStdDev. The value for the seed is obtained from the CPU clock.
Overload 3: TMtxVec RandGauss(UInt32 Seed, Double AMean, Double AStdDev)
Fills the calling object values with pseudo random samples following the Gaussian distribution.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Seed | UInt32 | |
| 2 | AMean | Double | pre-computed mean |
| 3 | AStdDev | Double | output std deviation |
Result: stored in self (calling object), returns self for chaining
The algorithm uses parameters AMean, AStdDev and Seed.