Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgRandom.h File Reference

Detailed Description

Random numbers.

Definition in file SgRandom.h.

#include <algorithm>
#include <list>
#include <boost/random/mersenne_twister.hpp>
#include "SgArray.h"

Go to the source code of this file.


class  SgRandom
 Random number generator. More...
struct  SgRandom::GlobalData


float SgRandomFloat (float min, float max)
 Get a random float in [min, max].

Function Documentation

float SgRandomFloat ( float  min,
float  max 

Get a random float in [min, max].

Used std::rand()

Definition at line 81 of file SgRandom.cpp.

17 Jun 2010 Doxygen 1.4.7