Safe Haskell | None |
---|

# Documentation

Cubic Hermite splines. These are cubic splines defined by a sequence of control points and derivatives at those points.

(VectorSpace a, Fractional (Scalar a), Ord (Scalar a)) => Spline CSpline a |

cSpline :: Ord (Scalar a) => [(Scalar a, a, a)] -> CSpline aSource

Cubic splines specified by a list of control points, where each control point is given by a triple of parameter value, position of the spline at that parameter value, and derivative of the spline at that parameter value.

evalSpline :: Spline s v => s v -> Scalar v -> vSource