void RandomGeometric(const double P, TDenseMtxVec *results, int Seed = - 1);
Geometric distribution random generator.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | P | const double | |
| 2 | results | TDenseMtxVec * | |
| 3 | Seed = - 1 | int |
Remarks:
This routine generates Result.Length pseudo random numbers, using the geometric distribution with parameter P. The random numbers are stored in the Results vector. An exception is raised if Result vector is complex.
Declared in Dew::Stats::Units::StatRandom · Dew.Stats/Units.StatRandom.h · Cross-compiler