void RandomMaxwell(const double a, TDenseMtxVec *results, int Seed = - 1);
Maxwell distribution random generator.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | const double | |
| 2 | results | TDenseMtxVec * | |
| 3 | Seed = - 1 | int |
Remarks:
This routine generates Result.Length pseudo random numbers, using the Maxwell distribution with parameter a. 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