QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo digital engine factory. More...
#include <mcdigitalengine.hpp>
Public Member Functions | |
MakeMCDigitalEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >) | |
MakeMCDigitalEngine & | withSteps (Size steps) |
MakeMCDigitalEngine & | withStepsPerYear (Size steps) |
MakeMCDigitalEngine & | withBrownianBridge (bool b=true) |
MakeMCDigitalEngine & | withSamples (Size samples) |
MakeMCDigitalEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCDigitalEngine & | withMaxSamples (Size samples) |
MakeMCDigitalEngine & | withSeed (BigNatural seed) |
MakeMCDigitalEngine & | withAntitheticVariate (bool b=true) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
bool | antithetic_ = false |
Size | steps_ |
Size | stepsPerYear_ |
Size | samples_ |
Size | maxSamples_ |
Real | tolerance_ |
bool | brownianBridge_ = false |
BigNatural | seed_ = 0 |
Monte Carlo digital engine factory.
Definition at line 89 of file mcdigitalengine.hpp.
MakeMCDigitalEngine | ( | ext::shared_ptr< GeneralizedBlackScholesProcess > | process | ) |
Definition at line 190 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withSteps | ( | Size | steps | ) |
Definition at line 197 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 204 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 246 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withSamples | ( | Size | samples | ) |
Definition at line 211 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 220 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withMaxSamples | ( | Size | samples | ) |
Definition at line 232 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withSeed | ( | BigNatural | seed | ) |
Definition at line 239 of file mcdigitalengine.hpp.
MakeMCDigitalEngine< RNG, S > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 253 of file mcdigitalengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 260 of file mcdigitalengine.hpp.
|
private |
Definition at line 104 of file mcdigitalengine.hpp.
|
private |
Definition at line 105 of file mcdigitalengine.hpp.
|
private |
Definition at line 106 of file mcdigitalengine.hpp.
|
private |
Definition at line 106 of file mcdigitalengine.hpp.
|
private |
Definition at line 106 of file mcdigitalengine.hpp.
|
private |
Definition at line 106 of file mcdigitalengine.hpp.
|
private |
Definition at line 107 of file mcdigitalengine.hpp.
|
private |
Definition at line 108 of file mcdigitalengine.hpp.
|
private |
Definition at line 109 of file mcdigitalengine.hpp.