Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell98 |

- linear :: Num b => [a] -> [T a b]
- hermite1 :: Num b => [a] -> [T a (b, b)]
- cubicLinear :: Fractional a => [a] -> [T a (a, a)]
- cubicParabola :: Fractional a => [a] -> [T a (a, a)]

# Documentation

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.