| Copyright | [2017] Rinat Stryungis |
|---|---|
| License | BSD3 |
| Maintainer | Rinat Stryungis <lazybonesxp@gmail.com> |
| Stability | experimental |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Array.Accelerate.Math.WindowFunc
Description
Creation of window for smoothing in frequency-domain in Pseudo-Wigner-Ville distribuition
- data WindowFunc
- makeWindow :: (RealFloat e, Fractional (Exp e), Floating (Exp e), IsFloating e, FromIntegral Int e, Ord e) => WindowFunc -> Acc (Scalar Int) -> Acc (Array DIM1 e)
Documentation
makeWindow :: (RealFloat e, Fractional (Exp e), Floating (Exp e), IsFloating e, FromIntegral Int e, Ord e) => WindowFunc -> Acc (Scalar Int) -> Acc (Array DIM1 e) Source #
Creates new window (1D array of odd length) with length and window function. For example win1 = makeWindow Sin lentgh Where length has type Acc (Scalar Int)