wigner-ville-accelerate 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+4/−4 lines, 2 files
Files
src/Data/Array/Accelerate/Math/Wigner.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE FlexibleContexts#-} +{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE TypeFamilies #-} -- | @@ -35,7 +35,7 @@ -- | Wigner-ville distribution. It takes 1D array of complex floating numbers and returns 2D array of real numbers. -- Columns of result array represents time and rows - frequency. Frequency range is from 0 to n/4, where n is a sampling frequency. -wignerVille :: (A.RealFloat e, Fractional (A.Exp e), Floating (A.Exp e), A.IsFloating e, A.FromIntegral Int e, Elt e, sh ~ DIM2) +wignerVille :: (A.RealFloat e, A.IsFloating e, A.FromIntegral Int e, Elt e, sh ~ DIM2) => sh -- ^ Shape of the data array. It is ignored, when compiled with Native or PTX backend. -> A.Acc (A.Array A.DIM1 (ADC.Complex e)) -- ^ Data array -> A.Acc (A.Array A.DIM2 e)
wigner-ville-accelerate.cabal view
@@ -1,5 +1,5 @@-Name: wigner-ville-accelerate -Version: 0.1.0.1 +Name: wigner-ville-accelerate +Version: 0.1.0.2 Cabal-version: >= 1.6 Tested-with: GHC >= 8.0.1 Build-type: Simple