QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mc_discr_geom_av_price.hpp>
Public Member Functions | |
GeometricAPOPathPricer (Option::Type type, Real strike, DiscountFactor discount, Real runningProduct=1.0, Size pastFixings=0) | |
Real | operator() (const Path &path) const override |
Public Member Functions inherited from PathPricer< Path > | |
virtual | ~PathPricer ()=default |
virtual Real | operator() (const Path &path) const=0 |
Private Attributes | |
PlainVanillaPayoff | payoff_ |
DiscountFactor | discount_ |
Real | runningProduct_ |
Size | pastFixings_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
typedef Real | result_type |
Definition at line 70 of file mc_discr_geom_av_price.hpp.
GeometricAPOPathPricer | ( | Option::Type | type, |
Real | strike, | ||
DiscountFactor | discount, | ||
Real | runningProduct = 1.0 , |
||
Size | pastFixings = 0 |
||
) |
Definition at line 25 of file mc_discr_geom_av_price.cpp.
Implements PathPricer< Path >.
Definition at line 34 of file mc_discr_geom_av_price.cpp.
|
private |
Definition at line 80 of file mc_discr_geom_av_price.hpp.
|
private |
Definition at line 81 of file mc_discr_geom_av_price.hpp.
|
private |
Definition at line 82 of file mc_discr_geom_av_price.hpp.
|
private |
Definition at line 83 of file mc_discr_geom_av_price.hpp.