interpolation-0.1.0.2: piecewise linear and cubic Hermite interpolation

Safe HaskellSafe
LanguageHaskell98

Numeric.Interpolation.Piece

Synopsis

Documentation

type T x y ny = (x, ny) -> (x, ny) -> x -> y Source #

linear :: Fractional a => T a a a Source #

hermite1 :: Fractional a => T a a (a, a) Source #

Hermite interpolation with one derivative per node. That is, the interpolating polynomial is cubic.