interpolation-0.1.0.2: piecewise linear and cubic Hermite interpolation

Safe HaskellSafe
LanguageHaskell98

Numeric.Interpolation.Basis.Compact

Description

Interpolation basis functions represented with a minimum of required nodes.

Synopsis

Documentation

linear :: Num b => [a] -> [T a b] Source #

hermite1 :: Num b => [a] -> [T a (b, b)] Source #

cubicLinear :: Fractional a => [a] -> [T a (a, a)] Source #

Cubic interpolation where the derivative at a node is set to the slope of the two adjacent nodes.

cubicParabola :: Fractional a => [a] -> [T a (a, a)] Source #

Cubic interpolation where the derivative at a node is set to the slope of the parabola through the current and the two adjacent nodes.