interpolation-0.0: piecewise linear and cubic Hermite interpolation

Safe HaskellSafe-Inferred

Numeric.Interpolation.Piecewise

Synopsis

Documentation

interpolate :: Ord x => T x y ny -> T x ny -> x -> ySource

It is a checked error to interpolate outside of the range of nodes.

interpolateConstantExt :: Ord x => T x y ny -> T x ny -> x -> ySource

Outside the range of nodes the interpolation function takes the value of the respective border.