WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <Interpolate.h>
Public Member Functions | |
template<class BidiIterator > | |
linterp (BidiIterator f, BidiIterator end_p, Real left_endpoint, Real step) | |
Real | operator() (Real x) const |
Use like:
linterp<double> lin(f.begin(), f.end(), x0, xstep); ... double y = lin(42.0);
where "f" is some kind of collection of doubles.
Definition at line 27 of file Interpolate.h.
|
inline |
Definition at line 30 of file Interpolate.h.
|
inline |
Definition at line 35 of file Interpolate.h.