QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Monte Carlo European engine factory. More...
#include <mceuropeanengine.hpp>
Public Member Functions | |
MakeMCEuropeanEngine (ext::shared_ptr< GeneralizedBlackScholesProcess >) | |
MakeMCEuropeanEngine & | withSteps (Size steps) |
MakeMCEuropeanEngine & | withStepsPerYear (Size steps) |
MakeMCEuropeanEngine & | withBrownianBridge (bool b=true) |
MakeMCEuropeanEngine & | withSamples (Size samples) |
MakeMCEuropeanEngine & | withAbsoluteTolerance (Real tolerance) |
MakeMCEuropeanEngine & | withMaxSamples (Size samples) |
MakeMCEuropeanEngine & | withSeed (BigNatural seed) |
MakeMCEuropeanEngine & | 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 European engine factory.
Definition at line 70 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine | ( | ext::shared_ptr< GeneralizedBlackScholesProcess > | process | ) |
Definition at line 157 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withSteps | ( | Size | steps | ) |
Definition at line 164 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withStepsPerYear | ( | Size | steps | ) |
Definition at line 171 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withBrownianBridge | ( | bool | b = true | ) |
Definition at line 213 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withSamples | ( | Size | samples | ) |
Definition at line 178 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withAbsoluteTolerance | ( | Real | tolerance | ) |
Definition at line 187 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withMaxSamples | ( | Size | samples | ) |
Definition at line 199 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withSeed | ( | BigNatural | seed | ) |
Definition at line 206 of file mceuropeanengine.hpp.
MakeMCEuropeanEngine< RNG, S > & withAntitheticVariate | ( | bool | b = true | ) |
Definition at line 220 of file mceuropeanengine.hpp.
operator ext::shared_ptr< PricingEngine > |
Definition at line 227 of file mceuropeanengine.hpp.
|
private |
Definition at line 85 of file mceuropeanengine.hpp.
|
private |
Definition at line 86 of file mceuropeanengine.hpp.
|
private |
Definition at line 87 of file mceuropeanengine.hpp.
|
private |
Definition at line 87 of file mceuropeanengine.hpp.
|
private |
Definition at line 87 of file mceuropeanengine.hpp.
|
private |
Definition at line 87 of file mceuropeanengine.hpp.
|
private |
Definition at line 88 of file mceuropeanengine.hpp.
|
private |
Definition at line 89 of file mceuropeanengine.hpp.
|
private |
Definition at line 90 of file mceuropeanengine.hpp.