Skip to content

Commit

Permalink
fix up documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mstksg committed Oct 20, 2019
1 parent 09b299a commit b37594d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Version 0.1.10.0
* Successive values of those projections reaching a certain squared
difference (Cauchy-inspired convergence)
* S-Number Criterion
* Add test suites

Version 0.1.9.0
---------------
Expand Down
6 changes: 3 additions & 3 deletions src/Numeric/EMD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
-- 2. We provide a vector of size of at least one.
--
-- There are many functions to convert unsized vectors to sized vectors in
-- "Data.Vector.Sized" and associated modules, including 'toSized' (for
-- when you know the size at compile-time) and 'withSized' (for when you
-- don't).
-- "Data.Vector.Sized" and associated modules, including
-- 'Data.Vector.Sized.toSized' (for when you know the size at compile-time)
-- and 'Data.Vector.Sized.withSized' (for when you don't).
--

module Numeric.EMD (
Expand Down
2 changes: 1 addition & 1 deletion src/Numeric/EMD/Internal/Pipe.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ makeFree ''PipeF
--
-- Some specializations:
--
-- * A pipe is a /producer/ if @i@ is '()': it doesn't need anything to go
-- * A pipe is a /producer/ if @i@ is @()@: it doesn't need anything to go
-- pump out items.
--
-- If a pipe is producer and @a@ is 'Void', it means that it will
Expand Down
1 change: 1 addition & 0 deletions src/Numeric/EMD/Internal/Sift.hs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ instance Fractional a => Default (EMDOpts a) where
def = defaultEO


-- | Boundary conditions for splines.
data BoundaryHandler
-- | Clamp envelope at end points (Matlab implementation)
= BHClamp
Expand Down
2 changes: 1 addition & 1 deletion src/Numeric/EMD/Internal/Spline.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE ApplicativeDo #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
Expand Down
4 changes: 2 additions & 2 deletions src/Numeric/HHT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ instance (Ord k, Num a) => Monoid (SumMap k a) where
-- Takes a "binning" function to allow you to specify how specific you want
-- your frequencies to be.
--
-- See 'hhtSparseSpetrum' for a sparser version, and 'hhtDenseSpectrum' for
-- a denser version.
-- See 'hhtSparseSpectrum' for a sparser version, and 'hhtDenseSpectrum'
-- for a denser version.
hhtSpectrum
:: forall v n a k. (VG.Vector v a, KnownNat n, Ord k, Num a)
=> (a -> k) -- ^ binning function. takes rev/tick freq between 0 and 1.
Expand Down
1 change: 0 additions & 1 deletion test/Tests/EMD.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ orthogProp eo = property $ withSize (Range.linear 8 10) $ \(_ :: Proxy n) -> do
where
indices :: [Int]
indices = [1..]
-- tripping (CE xs) (emd @_ @_ @(2^n-1) eo . getCE) (Identity . CE . iemd)

0 comments on commit b37594d

Please sign in to comment.