CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
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

 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.