smoothie-0.1.0.0: Smooth curves via several spline and polynomials.

Copyright(C) 2015 Dimitri Sabadie
LicenseBSD3
MaintainerDimitri Sabadie <dimitri.sabadie@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
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) 
(Eq s, Eq a) => Eq (CP s a) 
(Ord s, Ord a) => Ord (CP s a) 
(Show s, Show a) => Show (CP s a)