interpolation-0.1.0.2: piecewise linear and cubic Hermite interpolation

Safe HaskellSafe
LanguageHaskell98

Numeric.Interpolation.Piecewise

Synopsis

Documentation

interpolate :: Ord x => T x y ny -> T x ny -> x -> y Source #

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

interpolateConstantExt :: Ord x => T x y ny -> T x ny -> x -> y Source #

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