QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mc_discr_arith_av_price.hpp>
Public Member Functions | |
ArithmeticAPOPathPricer (Option::Type type, Real strike, DiscountFactor discount, Real runningSum=0.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 | runningSum_ |
Size | pastFixings_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
typedef Real | result_type |
Definition at line 84 of file mc_discr_arith_av_price.hpp.
ArithmeticAPOPathPricer | ( | Option::Type | type, |
Real | strike, | ||
DiscountFactor | discount, | ||
Real | runningSum = 0.0 , |
||
Size | pastFixings = 0 |
||
) |
Definition at line 26 of file mc_discr_arith_av_price.cpp.
Implements PathPricer< Path >.
Definition at line 36 of file mc_discr_arith_av_price.cpp.
|
private |
Definition at line 94 of file mc_discr_arith_av_price.hpp.
|
private |
Definition at line 95 of file mc_discr_arith_av_price.hpp.
|
private |
Definition at line 96 of file mc_discr_arith_av_price.hpp.
|
private |
Definition at line 97 of file mc_discr_arith_av_price.hpp.