#include <LinInterpolatedTable1D.h>
Public Member Functions | |
const double * | data () const |
std::auto_ptr < LinInterpolatedTable1D > | inverse (unsigned npoints, bool leftExtrapolationLinear, bool rightExtrapolationLinear) const |
bool | isMonotonous () const |
bool | leftExtrapolationLinear () const |
template<typename RealN > | |
LinInterpolatedTable1D (const RealN *data, unsigned npoints, double x_min, double x_max, bool leftExtrapolationLinear, bool rightExtrapolationLinear) | |
template<typename RealN > | |
LinInterpolatedTable1D (const std::vector< std::pair< RealN, RealN > > &v, unsigned npoints, bool leftExtrapolationLinear, bool rightExtrapolationLinear) | |
LinInterpolatedTable1D (double c) | |
unsigned | npoints () const |
bool | operator!= (const LinInterpolatedTable1D &r) const |
virtual double | operator() (const double &x) const |
bool | operator== (const LinInterpolatedTable1D &r) const |
bool | rightExtrapolationLinear () const |
double | xmax () const |
double | xmin () const |
virtual | ~LinInterpolatedTable1D () |
Static Private Member Functions | |
static double | interpolateSimple (const double x0, const double x1, const double y0, const double y1, const double x) |
Private Attributes | |
double | binwidth_ |
std::vector< double > | data_ |
bool | leftExtrapolationLinear_ |
bool | monotonicityKnown_ |
bool | monotonous_ |
unsigned | npoints_ |
bool | rightExtrapolationLinear_ |
double | xmax_ |
double | xmin_ |
Definition at line 24 of file LinInterpolatedTable1D.h.
|
inline |
Definition at line 114 of file LinInterpolatedTable1D.h.
References Exception.
Referenced by inverse().
fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D | ( | const std::vector< std::pair< RealN, RealN > > & | v, |
unsigned | npoints, | ||
bool | leftExtrapolationLinear, | ||
bool | rightExtrapolationLinear | ||
) |
Definition at line 138 of file LinInterpolatedTable1D.h.
References binwidth_, data_, Exception, plotBeamSpotDB::first, i, interpolateSimple(), npoints_, edm::second(), edm::shift, findQualityFiles::v, x(), xmax_, and xmin_.
|
explicit |
Definition at line 4 of file LinInterpolatedTable1D.cc.
|
inlinevirtual |
Definition at line 50 of file LinInterpolatedTable1D.h.
|
inline |
Definition at line 68 of file LinInterpolatedTable1D.h.
References data_.
Referenced by cuy.FindIssue::__init__().
|
inlinestaticprivate |
Definition at line 90 of file LinInterpolatedTable1D.h.
Referenced by LinInterpolatedTable1D().
std::auto_ptr< LinInterpolatedTable1D > fftjetcms::LinInterpolatedTable1D::inverse | ( | unsigned | npoints, |
bool | leftExtrapolationLinear, | ||
bool | rightExtrapolationLinear | ||
) | const |
Definition at line 46 of file LinInterpolatedTable1D.cc.
References binwidth_, data_, i, isMonotonous(), LinInterpolatedTable1D(), npoints_, NULL, xmax_, and xmin_.
bool fftjetcms::LinInterpolatedTable1D::isMonotonous | ( | ) | const |
Definition at line 29 of file LinInterpolatedTable1D.cc.
References data_, delta, i, monotonicityKnown_, monotonous_, and npoints_.
Referenced by inverse().
|
inline |
Definition at line 64 of file LinInterpolatedTable1D.h.
References leftExtrapolationLinear_.
|
inline |
Definition at line 63 of file LinInterpolatedTable1D.h.
References npoints_.
|
inline |
|
virtual |
Definition at line 77 of file LinInterpolatedTable1D.cc.
References binwidth_, data_, delta, leftExtrapolationLinear_, npoints_, rightExtrapolationLinear_, xmax_, and xmin_.
bool fftjetcms::LinInterpolatedTable1D::operator== | ( | const LinInterpolatedTable1D & | r | ) | const |
Definition at line 17 of file LinInterpolatedTable1D.cc.
References binwidth_, data_, leftExtrapolationLinear_, npoints_, rightExtrapolationLinear_, xmax_, and xmin_.
|
inline |
Definition at line 66 of file LinInterpolatedTable1D.h.
References rightExtrapolationLinear_.
|
inline |
Definition at line 62 of file LinInterpolatedTable1D.h.
References xmax_.
Referenced by svgfig.XAxis::__repr__().
|
inline |
Definition at line 61 of file LinInterpolatedTable1D.h.
References xmin_.
Referenced by svgfig.XAxis::__repr__(), svgfig.Axes::__repr__(), svgfig.HGrid::__repr__(), svgfig.Grid::__repr__(), and svgfig.Axes::SVG().
|
private |
Definition at line 101 of file LinInterpolatedTable1D.h.
Referenced by inverse(), LinInterpolatedTable1D(), operator()(), and operator==().
|
private |
Definition at line 98 of file LinInterpolatedTable1D.h.
Referenced by data(), inverse(), isMonotonous(), LinInterpolatedTable1D(), operator()(), and operator==().
|
private |
Definition at line 103 of file LinInterpolatedTable1D.h.
Referenced by leftExtrapolationLinear(), operator()(), and operator==().
|
mutableprivate |
Definition at line 106 of file LinInterpolatedTable1D.h.
Referenced by isMonotonous().
|
mutableprivate |
Definition at line 105 of file LinInterpolatedTable1D.h.
Referenced by isMonotonous().
|
private |
Definition at line 102 of file LinInterpolatedTable1D.h.
Referenced by inverse(), isMonotonous(), LinInterpolatedTable1D(), npoints(), operator()(), and operator==().
|
private |
Definition at line 104 of file LinInterpolatedTable1D.h.
Referenced by operator()(), operator==(), and rightExtrapolationLinear().
|
private |
Definition at line 100 of file LinInterpolatedTable1D.h.
Referenced by inverse(), LinInterpolatedTable1D(), operator()(), operator==(), and xmax().
|
private |
Definition at line 99 of file LinInterpolatedTable1D.h.
Referenced by inverse(), LinInterpolatedTable1D(), operator()(), operator==(), and xmin().