40 void reset() { h_ = {0.0, 0.0, 0.0, 0.0}; }
51 double read(
double t)
const {
return hermite4(h_[0], h_[1], h_[2], h_[3], t); }
54 std::array<double, 4> h_{};
double read(double t) const
Definition interp.hpp:51
static SampleType hermite(SampleType frac, SampleType ym1, SampleType y0, SampleType y1, SampleType y2)
Cubic Hermite (Catmull-Rom) interpolation.
Definition interpolator.hpp:41