Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
itasca::IRandom Class Referenceabstract

Interface to the random number generator. More...

#include <irandom.h>

Public Member Functions

virtual double gauss ()=0
 
virtual double uniform ()=0
 Returns a value between 0.0 and 1.0 using a uniform distribution.
 
virtual void setSeed (int32 i)=0
 Sets the random number "seed". If i=0 then uses the default seed.
 

Detailed Description

Interface to the random number generator.

Member Function Documentation

◆ gauss()

virtual double itasca::IRandom::gauss ( )
pure virtual

Returns a random floating point number generated by a unit gaussian algorithm.
Centered at 0.0, standard deviation of 1.0, etc.


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