A random number generator class. More...

#include <random.h>

Public Member Functions

 randomEngine (randomEngineType typeIn=AF_RANDOM_ENGINE_DEFAULT, uintl seedIn=0)
 This function creates a af::randomEngine object with a af::randomEngineType and a seed. More...
 
 randomEngine (const randomEngine &in)
 Copy constructor for af::randomEngine. More...
 
 randomEngine (af_random_engine engine)
 Creates a copy of the random engine object from a af_random_engine handle. More...
 
 ~randomEngine ()
 
randomEngineoperator= (const randomEngine &in)
 
void setType (const randomEngineType type)
 
randomEngineType getType (void)
 
void setSeed (const uintl seed)
 
uintl getSeed (void) const
 
af_random_engine get (void) const
 

Detailed Description

A random number generator class.

Definition at line 30 of file random.h.

Constructor & Destructor Documentation

◆ ~randomEngine()

Member Function Documentation

◆ get()

af_random_engine get ( void  ) const

◆ getSeed()

uintl getSeed ( void  ) const

◆ getType()

randomEngineType getType ( void  )

◆ operator=()

randomEngine& operator= ( const randomEngine in)

◆ setSeed()

void setSeed ( const uintl  seed)

◆ setType()

void setType ( const randomEngineType  type)

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