#include <random.h>
Provides uniform random numbers on a fixed interval.
objects of uniform_dist can be used to provide a large number of random numbers in the same interval. Example:
The random number engine is completely hidden inside the object.
Public Member Functions | |
| uniform_dist (T min, T max) | |
| Creates the object and fixes the interval.  More... | |
| T | operator() () | 
Private Attributes | |
| std::uniform_real_distribution< T > | distribution | 
| The distribution object that is being used.  More... | |
      
  | 
  inline | 
Creates the object and fixes the interval.
| min | Lower bound of interval. | 
| max | Upper bound of interval. | 
Definition at line 57 of file random.h.
      
  | 
  inline | 
Definition at line 59 of file random.h.
      
  | 
  private |