npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
interpolate.hh File Reference

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

#include <vector>
#include <cassert>
#include "npstat/nm/ProperDblFromCmpl.hh"
#include "npstat/nm/interpolate.icc"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename T >
npstat::interpolate_linear (const double x, const T &f0, const T &f1)
 
template<typename T >
npstat::interpolate_quadratic (const double x, const T &f0, const T &f1, const T &f2)
 
template<typename T >
npstat::interpolate_cubic (const double x, const T &f0, const T &f1, const T &f2, const T &f3)
 
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