QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmspreadpayoffinnervalue.hpp>
Public Member Functions | |
FdmSpreadPayoffInnerValue (ext::shared_ptr< BasketPayoff > payoff, ext::shared_ptr< FdmInnerValueCalculator > calc1, ext::shared_ptr< FdmInnerValueCalculator > calc2) | |
Real | innerValue (const FdmLinearOpIterator &iter, Time t) override |
Real | avgInnerValue (const FdmLinearOpIterator &iter, Time t) override |
Public Member Functions inherited from FdmInnerValueCalculator | |
virtual | ~FdmInnerValueCalculator ()=default |
virtual Real | innerValue (const FdmLinearOpIterator &iter, Time t)=0 |
virtual Real | avgInnerValue (const FdmLinearOpIterator &iter, Time t)=0 |
Private Attributes | |
const ext::shared_ptr< BasketPayoff > | payoff_ |
const ext::shared_ptr< FdmInnerValueCalculator > | calc1_ |
const ext::shared_ptr< FdmInnerValueCalculator > | calc2_ |
Definition at line 33 of file fdmspreadpayoffinnervalue.hpp.
FdmSpreadPayoffInnerValue | ( | ext::shared_ptr< BasketPayoff > | payoff, |
ext::shared_ptr< FdmInnerValueCalculator > | calc1, | ||
ext::shared_ptr< FdmInnerValueCalculator > | calc2 | ||
) |
Definition at line 35 of file fdmspreadpayoffinnervalue.hpp.
|
overridevirtual |
Implements FdmInnerValueCalculator.
Definition at line 40 of file fdmspreadpayoffinnervalue.hpp.
|
overridevirtual |
Implements FdmInnerValueCalculator.
Definition at line 47 of file fdmspreadpayoffinnervalue.hpp.
|
private |
Definition at line 52 of file fdmspreadpayoffinnervalue.hpp.
|
private |
Definition at line 53 of file fdmspreadpayoffinnervalue.hpp.
|
private |
Definition at line 54 of file fdmspreadpayoffinnervalue.hpp.