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)]
- coefficientsToLinear :: [a] -> [b] -> T a b
- coefficientsToHermite1 :: [a] -> [b] -> T a (b, b)
- coefficientsToCubicLinear :: Fractional a => [a] -> [a] -> T a (a, a)
- coefficientsToCubicParabola :: Fractional a => [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.
coefficientsToLinear :: [a] -> [b] -> T a b Source
coefficientsToLinear nodes coefficients
creates an interpolation function for nodes
,
where the coefficients
correspond to the basis functions
constructed with Basis.linear nodes
.
coefficientsToHermite1 :: [a] -> [b] -> T a (b, b) Source
coefficientsToCubicLinear :: Fractional a => [a] -> [a] -> T a (a, a) Source
coefficientsToCubicParabola :: Fractional a => [a] -> [a] -> T a (a, a) Source