smoothie 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+11/−6 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- smoothie.cabal +2/−2
- src/Data/Spline.hs +2/−2
- src/Data/Spline/CP.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,8 @@+## 0.1.0.1++- Fixed cabal meta information.+- Fixed haddock documentation.+ ## 0.1 - Initial revision.
smoothie.cabal view
@@ -1,6 +1,6 @@ name: smoothie -version: 0.1.0.0 -synopsis: Smooth curves via several spline and polynomials. +version: 0.1.0.1 +synopsis: Smooth curves via several splines and polynomials. description: This package exports several splines and curves you can use to interpolate points in between. homepage: https://github.com/phaazon/smoothie
src/Data/Spline.hs view
@@ -7,7 +7,7 @@ -- Stability : experimental -- Portability : portable ----- A 'Spline s a' represents a curve in which 'a' is very likely to be+-- A @Spline s a@ represents a curve in which 'a' is very likely to be -- 'Additive' (see "linear") and 's' is the sampling type. -- -- The library exports two useful functions: 'spline' and 'smooth'. The former@@ -29,7 +29,7 @@ import Data.Spline.Polynomial ( Polynomial(..), bsearchLower ) import Data.Vector ( Vector, (!?), fromList ) --- |A 'Spline' is a collection of control points with associated polynomials.+-- |A @Spline@ is a collection of control points with associated polynomials. -- Given two control points which indices are /i/ and /i+1/, interpolation on -- the resulting curve is performed using the polynomial of indice /i/. Thus, -- the latest control point is ignored and can be set to whatever the user wants
src/Data/Spline/CP.hs view
@@ -14,10 +14,10 @@ CP(..) ) where --- | A 'CP' is a **control point**. A curve passes through control points and +-- | 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 +-- @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'. data CP s a = CP !s !a deriving (Functor,Eq,Ord,Show)