Rand< C > Class Template Reference

List of all members.

Detailed Description

template<class C = double>
class Rand< C >

Generator of pseudo-random numbers between m and M of type C. Use: Rand<C> h(min,max); h();

or h.get_random_bool() in torder to get a bool

Definition at line 35 of file Rand.h.

Public Types

typedef C value_type

Public Member Functions

 Rand ()
 Rand (const C &M)
 Rand (const C &m, const C &M)
 Rand (const C &m, const C &M, const unsigned long int &seed)
bool get_rand_bool ()
operator() (void)
operator() (const C &m, const C &M)


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

SYNAPS DOCUMENTATION
logo