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

Interpolate histogram contents. More...

#include "npstat/stat/HistoND.hh"
#include "npstat/stat/interpolateHistoND.icc"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, const double *coords, unsigned coordsDim, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, double x5, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, double x5, double x6, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7, double x8, unsigned interpolationDegree)
 
template<typename Float , class Axis >
Float npstat::interpolateHistoND (const HistoND< Float, Axis > &histo, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7, double x8, double x9, unsigned interpolationDegree)
 

Detailed Description

Interpolate histogram contents.

Functions which interpolate histogram contents are not included into the HistoND template itself because we do not always want to create histograms using bin types which can be multiplied by doubles (also, results of such a multiplication have to be automatically converted back to the same type).

The implementations work by invoking "interpolate1" or "interpolate3" ArrayND methods on the histogram bin contents after an appropriate coordinate transformation.

Author: I. Volobouev

November 2011