CMS 3D CMS Logo

Namespaces | Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/JetMETCorrections/InterpolationTables/interface/interpolate.h File Reference

Low-order polynomial interpolation (up to cubic) for equidistant coordinates. More...

#include "JetMETCorrections/InterpolationTables/interface/ProperDblFromCmpl.h"
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h"

Go to the source code of this file.

Namespaces

namespace  npstat

Functions

template<typename T >
T npstat::interpolate_cubic (const double x, const T &f0, const T &f1, const T &f2, const T &f3)
template<typename T >
T npstat::interpolate_linear (const double x, const T &f0, const T &f1)
template<typename T >
T npstat::interpolate_quadratic (const double x, const T &f0, const T &f1, const T &f2)
template<typename T >
unsigned npstat::interpolation_coefficients (T *buffer, unsigned bufLen, const T &f0, const T &f1)
template<typename T >
unsigned npstat::interpolation_coefficients (T *buffer, unsigned bufLen, const T &f0, const T &f1, const T &f2)
template<typename T >
unsigned npstat::interpolation_coefficients (T *buffer, unsigned bufLen, const T &f0, const T &f1, const T &f2, const T &f3)

Detailed Description

Low-order polynomial interpolation (up to cubic) for equidistant coordinates.

Author: I. Volobouev

October 2009

Definition in file interpolate.h.