UniformRandomReal< T > Class Template Reference
[Functor: UniformRandom]

Implementation for real (floating point) number types. More...

#include <UniformRandom.h>

Inheritance diagram for UniformRandomReal< T >:
UniformRandomBase

List of all members.

Public Types

typedef T Number
 The number type.
typedef void argument_type
 Since this is a generator, the argument type is void.
typedef Number result_type
 The result type is the number type.

Public Member Functions

 UniformRandomReal ()
 Default constructor.
 UniformRandomReal (const Number min, const Number max)
 Construct from the range of values.
 UniformRandomReal (const Number min, const Number max, const unsigned int n)
 Construct from the range of values and a seed.
 UniformRandomReal (const UniformRandomReal &x)
 Copy constructor.
UniformRandomRealoperator= (const UniformRandomReal &other)
 Assignment operator.
 ~UniformRandomReal ()
 Destructor.

Number min () const
 Return the lower bound of the interval.
Number max () const
 Return the upper bound of the interval.
result_type operator() () const
 Return a random number in the closed interval [min() .. max()].

Detailed Description

template<typename T>
class UniformRandomReal< T >

Implementation for real (floating point) number types.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3