SPH
|
Polymorphic holder allowing to store any RNG (type erasure). More...
#include <Rng.h>
Public Member Functions | |
virtual Float | operator() (const int s=0)=0 |
Generates a random number. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Polymorphic holder allowing to store any RNG (type erasure).
|
pure virtual |
Generates a random number.
Implemented in RngWrapper< TRng >.