ecolab::affinerand Class Reference

scale and translate a random number generator More...

#include <random.h>

Inheritance diagram for ecolab::affinerand:
Inheritance graph
Collaboration diagram for ecolab::affinerand:
Collaboration graph

Public Member Functions

 affinerand (double s=1, double o=0)
 
 affinerand (double s, double o, random_gen *g)
 
void Set_gen (random_gen *g)
 
template<class T >
void new_gen (const T &g)
 
void set_gen (TCL_args)
 
double rand ()
 

Public Attributes

double scale
 
double offset
 

Detailed Description

scale and translate a random number generator


The documentation for this class was generated from the following file: