#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 |
Private Attributes | |
| std::vector< Real > | m_dat |
| Real | m_le |
| Real | m_re |
| Real | m_step |
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.
|
private |
Definition at line 48 of file Interpolate.h.
|
private |
Definition at line 49 of file Interpolate.h.
|
private |
Definition at line 49 of file Interpolate.h.
|
private |
Definition at line 49 of file Interpolate.h.
1.8.11