QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <mc_discr_arith_av_strike.hpp>
Public Member Functions | |
ArithmeticASOPathPricer (Option::Type type, 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 | |
Option::Type | type_ |
DiscountFactor | discount_ |
Real | runningSum_ |
Size | pastFixings_ |
Additional Inherited Members | |
Public Types inherited from PathPricer< Path > | |
typedef Real | result_type |
Definition at line 61 of file mc_discr_arith_av_strike.hpp.
ArithmeticASOPathPricer | ( | Option::Type | type, |
DiscountFactor | discount, | ||
Real | runningSum = 0.0 , |
||
Size | pastFixings = 0 |
||
) |
Definition at line 24 of file mc_discr_arith_av_strike.cpp.
Implements PathPricer< Path >.
Definition at line 32 of file mc_discr_arith_av_strike.cpp.
|
private |
Definition at line 70 of file mc_discr_arith_av_strike.hpp.
|
private |
Definition at line 71 of file mc_discr_arith_av_strike.hpp.
|
private |
Definition at line 72 of file mc_discr_arith_av_strike.hpp.
|
private |
Definition at line 73 of file mc_discr_arith_av_strike.hpp.