Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

QuantLib::BilinearInterpolation Class Reference

#include <bilinearinterpolation.hpp>

Inheritance diagram for QuantLib::BilinearInterpolation:

QuantLib::Interpolation2D QuantLib::Bridge< T, T_impl >

List of all members.

Detailed Description

bilinear interpolation between discrete points

Definition at line 71 of file bilinearinterpolation.hpp.

Public Types

typedef Real first_argument_type
typedef T_impl Impl
typedef Real result_type
typedef Real second_argument_type

Public Member Functions

template<class I1, class I2, class M>
 BilinearInterpolation (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData)
bool isInRange (Real x, Real y) const
bool isNull () const
Real operator() (Real x, Real y, bool allowExtrapolation=false) const
void update ()
Real xMax () const
Real xMin () const
Real yMax () const
Real yMin () const

Protected Member Functions

void checkRange (Real x, Real y, bool allowExtrapolation) const

Protected Attributes

boost::shared_ptr< Impl > impl_

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index