smoothie-0.2.2: Smooth curves via several splines and polynomials.

Copyright(C) 2015 Dimitri Sabadie
LicenseBSD3
MaintainerDimitri Sabadie <dimitri.sabadie@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Data.Spline.CP

Contents

Description

 

Synopsis

Control points

data CP s a Source

A CP is a **control point**. A curve passes through control points and the shape of the curve is determined by the polynomials used to interpolate values in between.

CP s a is a control point of sampling type s and carried type a. In most cases, s must be Ord and a must be Additive and Fractional.

Constructors

CP !s !a 

Instances

Functor (CP s) Source 
Foldable (CP s) Source 
Traversable (CP s) Source 
(Eq s, Eq a) => Eq (CP s a) Source 
(Ord s, Ord a) => Ord (CP s a) Source 
(Show s, Show a) => Show (CP s a) Source