Inheritance diagram for Eaagles::Basic::UniformRand:


Public Member Functions | |
| UniformRand () | |
| double | getMin () |
| double | getMax () |
Protected Member Functions | |
| bool | setMin (LcNumber *num) |
| bool | setMax (LcNumber *num) |
| virtual void | calculateNextRand () |
Private Attributes | |
| LcNumber * | min |
| LcNumber * | max |
PseudoRandom Number Generator with a Uniform Distribution
Form name: UniformRand
Slots: (I: inherited)
(I) Seed: the seed to start the random number generator
(I) Antithetic: boolean (true is x>0) for antithetic operation (return 1-U instead of U)
(I) IncreasedPrecision: boolean (true is x>0) for using increased precision (53bit double)
Min: The minimum bound. Default is 0.
Max: The Maximum bound. Default is 1.
Output: (Min <= x <= Max) as a double via getNextRand(); method
| Max Eaagles::Basic::UniformRand::UniformRand | ( | ) |
| double Eaagles::Basic::UniformRand::getMin | ( | ) |
| double Eaagles::Basic::UniformRand::getMax | ( | ) |
| bool Eaagles::Basic::UniformRand::setMin | ( | LcNumber * | num | ) | [protected] |
| bool Eaagles::Basic::UniformRand::setMax | ( | LcNumber * | num | ) | [protected] |
| void Eaagles::Basic::UniformRand::calculateNextRand | ( | ) | [protected, virtual] |
Reimplemented from Eaagles::Basic::LcRand.
LcNumber* Eaagles::Basic::UniformRand::min [private] |
the Min.
LcNumber* Eaagles::Basic::UniformRand::max [private] |
the Max.
1.5.0