dune-fem  2.4.1-rc
Public Member Functions | List of all members
parDG_MPI::Random Class Reference

Public Member Functions

 Random (int seed=0)
 
void seed (int seed)
 
int rand ()
 
int rand (int hi)
 
int rand (int lo, int hi)
 
double rand (double hi)
 
double rand (double lo, double hi)
 
int rand_max ()
 
template<class T >
void permute (T *array, int size)
 

Constructor & Destructor Documentation

parDG_MPI::Random::Random ( int  seed = 0)
inline

Member Function Documentation

template<class T >
void parDG_MPI::Random::permute ( T *  array,
int  size 
)
inline
int parDG_MPI::Random::rand ( )
inline
int parDG_MPI::Random::rand ( int  hi)
inline
int parDG_MPI::Random::rand ( int  lo,
int  hi 
)
inline
double parDG_MPI::Random::rand ( double  hi)
inline
double parDG_MPI::Random::rand ( double  lo,
double  hi 
)
inline
int parDG_MPI::Random::rand_max ( )
inline
void parDG_MPI::Random::seed ( int  seed)
inline

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