commons::posix_rand Class Reference

Linear congruential generator. More...

#include <rand.h>

List of all members.

Public Member Functions

 posix_rand (long s=0)
void seed (long s)
long abs (long x)
long draw ()
long operator() ()


Detailed Description

Linear congruential generator.

This is actually an example rand() provided in the POSIX specification.

TODO: rename this class

Definition at line 15 of file rand.h.


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

Generated on Mon Mar 2 22:13:23 2009 for C++ Commons by  doxygen 1.5.6