StatRandom::RandomMaxwell Function

void RandomMaxwell(const double a, TDenseMtxVec *results, int Seed = - 1);

Maxwell distribution random generator.

#NameTypeDescription
1aconst double
2resultsTDenseMtxVec *
3Seed = - 1int
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