QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
FdmExtOUJumpModelInnerValue Class Reference

#include <ql/experimental/finitedifferences/fdmextoujumpmodelinnervalue.hpp>

+ Inheritance diagram for FdmExtOUJumpModelInnerValue:
+ Collaboration diagram for FdmExtOUJumpModelInnerValue:

Public Types

typedef std::vector< std::pair< Time, Real > > Shape
 

Public Member Functions

 FdmExtOUJumpModelInnerValue (ext::shared_ptr< Payoff > payoff, ext::shared_ptr< FdmMesher > mesher, ext::shared_ptr< Shape > shape=ext::shared_ptr< Shape >())
 
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< Payoffpayoff_
 
const ext::shared_ptr< FdmMeshermesher_
 
const ext::shared_ptr< Shapeshape_
 

Detailed Description

Definition at line 36 of file fdmextoujumpmodelinnervalue.hpp.

Member Typedef Documentation

◆ Shape

typedef std::vector<std::pair<Time, Real> > Shape

Definition at line 38 of file fdmextoujumpmodelinnervalue.hpp.

Constructor & Destructor Documentation

◆ FdmExtOUJumpModelInnerValue()

FdmExtOUJumpModelInnerValue ( ext::shared_ptr< Payoff payoff,
ext::shared_ptr< FdmMesher mesher,
ext::shared_ptr< Shape shape = ext::shared_ptr<Shape>() 
)

Definition at line 40 of file fdmextoujumpmodelinnervalue.hpp.

Member Function Documentation

◆ innerValue()

Real innerValue ( const FdmLinearOpIterator iter,
Time  t 
)
overridevirtual

Implements FdmInnerValueCalculator.

Definition at line 45 of file fdmextoujumpmodelinnervalue.hpp.

+ Here is the caller graph for this function:

◆ avgInnerValue()

Real avgInnerValue ( const FdmLinearOpIterator iter,
Time  t 
)
overridevirtual

Implements FdmInnerValueCalculator.

Definition at line 56 of file fdmextoujumpmodelinnervalue.hpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ payoff_

const ext::shared_ptr<Payoff> payoff_
private

Definition at line 61 of file fdmextoujumpmodelinnervalue.hpp.

◆ mesher_

const ext::shared_ptr<FdmMesher> mesher_
private

Definition at line 62 of file fdmextoujumpmodelinnervalue.hpp.

◆ shape_

const ext::shared_ptr<Shape> shape_
private

Definition at line 63 of file fdmextoujumpmodelinnervalue.hpp.