QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Random seed generator. More...
#include <seedgenerator.hpp>
Public Member Functions | |
unsigned long | get () |
Public Member Functions inherited from Singleton< SeedGenerator > | |
Singleton (const Singleton &)=delete | |
Singleton (Singleton &&)=delete | |
Singleton & | operator= (const Singleton &)=delete |
Singleton & | operator= (Singleton &&)=delete |
~Singleton ()=default | |
Private Member Functions | |
SeedGenerator () | |
void | initialize () |
Private Attributes | |
MersenneTwisterUniformRng | rng_ |
Friends | |
class | Singleton< SeedGenerator > |
Additional Inherited Members | |
Static Public Member Functions inherited from Singleton< SeedGenerator > | |
static SeedGenerator & | instance () |
access to the unique instance More... | |
Protected Member Functions inherited from Singleton< SeedGenerator > | |
Singleton ()=default | |
Random seed generator.
Random number generator used for automatic generation of initialization seeds.
Definition at line 38 of file seedgenerator.hpp.
|
private |
unsigned long get | ( | ) |
Definition at line 59 of file seedgenerator.cpp.
|
private |
Definition at line 33 of file seedgenerator.cpp.
|
friend |
Definition at line 1 of file seedgenerator.hpp.
|
private |
Definition at line 45 of file seedgenerator.hpp.