QuantLib
A free/open-source library for quantitative finance
Reference manual - version 1.8
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Interpolation2D::templateImpl< I1, I2, M > Class Template Reference

basic template implementation More...

#include <ql/math/interpolations/interpolation2d.hpp>

+ Inheritance diagram for Interpolation2D::templateImpl< I1, I2, M >:

Public Member Functions

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

Protected Member Functions

Size locateX (Real x) const
 
Size locateY (Real y) const
 

Protected Attributes

I1 xBegin_
 
I1 xEnd_
 
I2 yBegin_
 
I2 yEnd_
 
const M & zData_
 

Detailed Description

template<class I1, class I2, class M>
class QuantLib::Interpolation2D::templateImpl< I1, I2, M >

basic template implementation