library of assembled shared sources |
http://lass.cocamware.com |
#include <random.h>
Public Types | |
typedef int | TValue |
type of return value. | |
Public Member Functions | |
const TValue | operator() () const |
draw a random number | |
const TValue | operator() (TValue supremum) const |
draw a random number remapped to range [0, supremum) | |
template<typename OutputIterator > | |
OutputIterator | getState (OutputIterator first) const |
template<typename InputIterator > | |
void | setState (InputIterator first, InputIterator last) |
Static Public Attributes | |
static const TValue | max = RAND_MAX |
maximum return value. |
Definition at line 71 of file random.h.
typedef int lass::num::RandomStandard::TValue |
const RandomStandard::TValue lass::num::RandomStandard::operator() | ( | ) | const [inline] |
const RandomStandard::TValue lass::num::RandomStandard::operator() | ( | TValue | supremum | ) | const [inline] |
draw a random number remapped to range [0, supremum)
Definition at line 70 of file random.inl.
OutputIterator lass::num::RandomStandard::getState | ( | OutputIterator | first | ) | const [inline] |
Definition at line 78 of file random.inl.
void lass::num::RandomStandard::setState | ( | InputIterator | first, | |
InputIterator | last | |||
) | [inline] |
const RandomStandard::TValue lass::num::RandomStandard::max = RAND_MAX [static] |
Generated on Mon Nov 10 14:22:10 2008 for Library of Assembled Shared Sources by 1.5.7.1 |