Copyright | (C) 2015 Dimitri Sabadie |
---|---|
License | BSD3 |
Maintainer | Dimitri Sabadie <dimitri.sabadie@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Control points
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
.
CP !s !a |