rand.h File Reference

#include <cstdlib>

Include dependency graph for rand.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz

Classes

class  rutz::urand
 Uniform random distribution. More...
class  rutz::urand_irange
 uniform distribution over a specified integer range More...
class  rutz::urand_frange
 uniform distribution over a specified floating-point range More...

Functions

template<class T>
rutz::rand_range (const T &min, const T &max)

Variables

unsigned long rutz::default_rand_seed = 0
 A hook that allows various code to start from a predictable seed.


Detailed Description

random-number generation

Definition in file rand.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:52:05 2008 by Doxygen version 1.5.5.