#include <ql/math/interpolations/backwardflatlinearinterpolation.hpp>
|
| template<class I1, class I2, class M> |
| | BackwardflatLinearInterpolation (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData) |
|
Real | operator() (Real x, Real y, bool allowExtrapolation=false) const |
|
Real | xMin () const |
|
Real | xMax () const |
|
std::vector< Real > | xValues () const |
|
Size | locateX (Real x) const |
|
Real | yMin () const |
|
Real | yMax () const |
|
std::vector< Real > | yValues () const |
|
Size | locateY (Real y) const |
|
const Matrix & | zData () const |
|
bool | isInRange (Real x, Real y) const |
|
void | update () |
|
|
void | checkRange (Real x, Real y, bool extrapolate) const |
|
ext::shared_ptr< Impl > | impl_ |
- Warning
- See the Interpolation class for information about the required lifetime of the underlying data.
◆ BackwardflatLinearInterpolation()
template<class I1, class I2, class M>
- Precondition
- the \( x \) and \( y \) values must be sorted.