QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BackwardflatLinearInterpolationImpl< I1, I2, M > Class Template Reference

#include <backwardflatlinearinterpolation.hpp>

+ Inheritance diagram for BackwardflatLinearInterpolationImpl< I1, I2, M >:
+ Collaboration diagram for BackwardflatLinearInterpolationImpl< I1, I2, M >:

Public Member Functions

 BackwardflatLinearInterpolationImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData)
 
void calculate () override
 
Real value (Real x, Real y) const override
 
- Public Member Functions inherited from Interpolation2D::templateImpl< I1, I2, M >
 templateImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData)
 
Real xMin () const override
 
Real xMax () const override
 
std::vector< RealxValues () const override
 
Real yMin () const override
 
Real yMax () const override
 
std::vector< RealyValues () const override
 
const MatrixzData () const override
 
bool isInRange (Real x, Real y) const override
 
- Public Member Functions inherited from Interpolation2D::Impl
virtual ~Impl ()=default
 
virtual void calculate ()=0
 
virtual Real xMin () const =0
 
virtual Real xMax () const =0
 
virtual std::vector< RealxValues () const =0
 
virtual Size locateX (Real x) const =0
 
virtual Real yMin () const =0
 
virtual Real yMax () const =0
 
virtual std::vector< RealyValues () const =0
 
virtual Size locateY (Real y) const =0
 
virtual const MatrixzData () const =0
 
virtual bool isInRange (Real x, Real y) const =0
 
virtual Real value (Real x, Real y) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from Interpolation2D::templateImpl< I1, I2, M >
Size locateX (Real x) const override
 
Size locateY (Real y) const override
 
- Protected Attributes inherited from Interpolation2D::templateImpl< I1, I2, M >
I1 xBegin_
 
I1 xEnd_
 
I2 yBegin_
 
I2 yEnd_
 
const M & zData_
 

Detailed Description

template<class I1, class I2, class M>
class QuantLib::detail::BackwardflatLinearInterpolationImpl< I1, I2, M >

Definition at line 34 of file backwardflatlinearinterpolation.hpp.

Constructor & Destructor Documentation

◆ BackwardflatLinearInterpolationImpl()

BackwardflatLinearInterpolationImpl ( const I1 &  xBegin,
const I1 &  xEnd,
const I2 &  yBegin,
const I2 &  yEnd,
const M &  zData 
)

Definition at line 37 of file backwardflatlinearinterpolation.hpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ calculate()

void calculate ( )
overridevirtual

Implements Interpolation2D::Impl.

Definition at line 45 of file backwardflatlinearinterpolation.hpp.

+ Here is the caller graph for this function:

◆ value()

Real value ( Real  x,
Real  y 
) const
overridevirtual

Implements Interpolation2D::Impl.

Definition at line 46 of file backwardflatlinearinterpolation.hpp.

+ Here is the call graph for this function: