Compressed Sparse Blocks  1.2
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
RandGen Class Reference

#include <randgen.h>

Public Member Functions

 RandGen ()
int RandInt (int max=INT_MAX)
int RandInt (int low, int max)
double RandReal ()
double RandReal (double low, double max)

Static Public Member Functions

static void SetSeed (int seed)

Detailed Description

Definition at line 31 of file randgen.h.

Constructor & Destructor Documentation

RandGen::RandGen ( )

Definition at line 61 of file randgen.h.

Member Function Documentation

int RandGen::RandInt ( int  max = INT_MAX)

Definition at line 71 of file randgen.h.

int RandGen::RandInt ( int  low,
int  max 

Definition at line 78 of file randgen.h.

double RandGen::RandReal ( )

Definition at line 85 of file randgen.h.

double RandGen::RandReal ( double  low,
double  max 

Definition at line 91 of file randgen.h.

void RandGen::SetSeed ( int  seed)

Definition at line 50 of file randgen.h.

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