Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- initialDFT :: forall m e. (RealFloat e, Prim e, PrimMonad m) => Window m e -> m (Transform m e)
- subDFT :: forall m e. (RealFloat e, Prim e, PrimMonad m) => Signal e -> Window m e -> Complex e -> Transform m e -> m (Transform m e)
- rToComplex :: Num e => e -> Complex e
- iToComplex :: Num e => e -> Complex e
- mkComplex :: e -> e -> Complex e
- getX :: Complex e -> e
- getY :: Complex e -> e
- updateWindow :: forall m e. (Prim e, PrimMonad m) => Window m e -> Complex e -> m ()
- updateWindow' :: forall m e. (Prim e, PrimMonad m, RealFloat e) => Window m e -> Complex e -> Int -> m ()
Documentation
initialDFT :: forall m e. (RealFloat e, Prim e, PrimMonad m) => Window m e -> m (Transform m e) Source #
subDFT :: forall m e. (RealFloat e, Prim e, PrimMonad m) => Signal e -> Window m e -> Complex e -> Transform m e -> m (Transform m e) Source #
Compute FFT, F2, of a Window x2 given a new sample and the Transform of the old sample x1,
IN-PLACE. (F2 is a mutated F1)
O(n)
some stuff (???)
rToComplex :: Num e => e -> Complex e Source #
iToComplex :: Num e => e -> Complex e Source #