Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
numeric::random::uniform_RG Class Referenceabstract

Uniform random number generator. More...

#include <uniform.hh>

Inheritance diagram for numeric::random::uniform_RG:
Inheritance graph

Public Member Functions

 uniform_RG ()
 ~uniform_RG () override=default
virtual void setSeed (int const seed)=0
virtual void setSeed (std::string const &seed)=0
virtual int getSeed ()=0
virtual double getRandom ()=0
virtual void saveState (std::ostream &out)=0
virtual void restoreState (std::istream &in)=0
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 VirtualBase (VirtualBase const &)=default
 VirtualBase (VirtualBase &&)=default
VirtualBaseoperator= (VirtualBase const &)=default
VirtualBaseoperator= (VirtualBase &&)=default

Detailed Description

Uniform random number generator.

Constructor & Destructor Documentation

numeric::random::uniform_RG::uniform_RG ( )
numeric::random::uniform_RG::~uniform_RG ( )

Member Function Documentation

virtual double numeric::random::uniform_RG::getRandom ( )
pure virtual
virtual int numeric::random::uniform_RG::getSeed ( )
pure virtual
virtual void numeric::random::uniform_RG::restoreState ( std::istream &  in)
pure virtual
virtual void numeric::random::uniform_RG::saveState ( std::ostream &  out)
pure virtual
virtual void numeric::random::uniform_RG::setSeed ( int const  seed)
pure virtual
virtual void numeric::random::uniform_RG::setSeed ( std::string const &  seed)
pure virtual

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