#include <qle/methods/multipathvariategenerator.hpp>
Public Member Functions | |
MultiPathVariateGeneratorMersenneTwister (const Size dimension, const Size timeSteps, BigNatural seed=0, bool antitheticSampling=false) | |
void | reset () override |
Public Member Functions inherited from MultiPathVariateGeneratorBase | |
MultiPathVariateGeneratorBase (const Size dimension, const Size timeSteps) | |
virtual | ~MultiPathVariateGeneratorBase () |
virtual Sample< std::vector< Array > > | next () const |
virtual void | reset ()=0 |
Private Member Functions | |
Sample< std::vector< Real > > | nextSequence () const override |
Private Attributes | |
BigNatural | seed_ |
bool | antitheticSampling_ |
bool | antitheticVariate_ |
QuantLib::ext::shared_ptr< PseudoRandom::rsg_type > | rsg_ |
Additional Inherited Members | |
virtual Sample< std::vector< Real > > | nextSequence () const =0 |
Protected Attributes inherited from MultiPathVariateGeneratorBase | |
Size | dimension_ |
Size | timeSteps_ |
Definition at line 45 of file multipathvariategenerator.hpp.
MultiPathVariateGeneratorMersenneTwister | ( | const Size | dimension, |
const Size | timeSteps, | ||
BigNatural | seed = 0 , |
||
bool | antitheticSampling = false |
||
) |
Definition at line 44 of file multipathvariategenerator.cpp.
|
overridevirtual |
Implements MultiPathVariateGeneratorBase.
Definition at line 53 of file multipathvariategenerator.cpp.
|
overrideprivatevirtual |
Implements MultiPathVariateGeneratorBase.
Definition at line 61 of file multipathvariategenerator.cpp.
|
private |
Definition at line 54 of file multipathvariategenerator.hpp.
|
private |
Definition at line 55 of file multipathvariategenerator.hpp.
|
mutableprivate |
Definition at line 56 of file multipathvariategenerator.hpp.
|
private |
Definition at line 58 of file multipathvariategenerator.hpp.