Polymake Template Library (PTL): pm::UniformlyRandom< Rational > Class Reference
Polymake Template Library (PTL)  4.2
pm::UniformlyRandom< Rational > Class Reference

Inherits pm::SharedRandomState, and pm::GenericRandomGenerator< Top, Eref >.

Detailed Description

Generator of random rational numbers uniformly distributed in [0, 1).

Only the numerators of the numbers are really random. The denominators are always some powers of 2.


The documentation for this class was generated from the following file:
  • lib/core/include/RandomGenerators.h