QuantLib_MTBrownianGenerator man page

MTBrownianGenerator — Mersenne-twister Brownian generator for market-model simulations.  


#include <ql/models/marketmodels/browniangenerators/mtbrowniangenerator.hpp>

Inherits BrownianGenerator.

Public Member Functions

MTBrownianGenerator (Size factors, Size steps, unsigned long seed=0)
Real nextStep (std::vector< Real > &)
Real nextPath ()
Size numberOfFactors () const
Size numberOfSteps () const

Detailed Description

Mersenne-twister Brownian generator for market-model simulations.

Incremental Brownian generator using a Mersenne-twister uniform generator and inverse-cumulative Gaussian method.


At this time, generation of the underlying uniform sequence is eager, while its transformation into Gaussian variates is lazy. Further optimization might be possible by using the Mersenne twister directly instead of a RandomSequenceGenerator; however, it is not clear how much of a difference this would make when compared to the inverse-cumulative Gaussian calculation.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man pages MTBrownianGenerator(3) and nextStep(3) are aliases of QuantLib_MTBrownianGenerator(3).

Wed Feb 7 2018 Version 1.10.1 QuantLib