SPH
Public Member Functions | List of all members
IRng Class Referenceabstract

Polymorphic holder allowing to store any RNG (type erasure). More...

#include <Rng.h>

Inheritance diagram for IRng:
Polymorphic RngWrapper< TRng >

Public Member Functions

virtual Float operator() (const int s=0)=0
 Generates a random number. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Polymorphic holder allowing to store any RNG (type erasure).

Definition at line 90 of file Rng.h.

Member Function Documentation

◆ operator()()

virtual Float IRng::operator() ( const int  s = 0)
pure virtual

Generates a random number.

Implemented in RngWrapper< TRng >.


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