splines-0.5.0.1: B-Splines, other splines, and NURBS.

Safe HaskellNone

Math.Spline.Hermite

Synopsis

Documentation

data CSpline a Source

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

Instances

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