interpolation-0.1.1: 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.