Interface for random number distributions. More...
#include <RandomDistributionBase.h>
Public Member Functions | |
double | operator() (RandomEngine &eng) |
Return a random number specified by this distribution given a RandomEngine. | |
shared_ptr< std::vector< double > > | operator() (RandomEngine &eng, size_t n) |
virtual RandomDistribution * | clone (void) const =0 |
Protected Member Functions | |
virtual double | get (RandomEngine &eng) |
Interface for random number distributions.
double RandomDistribution::operator() | ( | RandomEngine & | eng | ) | [inline] |
Return a random number specified by this distribution given a RandomEngine.