Copyright | (c) Matthew Donadio 2003 |
---|---|
License | GPL |
Maintainer | m.p.donadio@ieee.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
This is an implementation of Goertzel's algorithm, which computes one bin of a DFT. A description can be found in Oppenheim and Schafer's Discrete Time Signal Processing, pp 585-587.
Synopsis
- cgoertzel :: (RealFloat a, Ix b, Integral b) => Array b (Complex a) -> b -> Complex a
- cgoertzel_power :: (RealFloat a, Ix b, Integral b) => Array b (Complex a) -> b -> a
- rgoertzel :: (RealFloat a, Ix b, Integral b) => Array b a -> b -> Complex a
- rgoertzel_power :: (RealFloat a, Ix b, Integral b) => Array b a -> b -> a
Documentation
Goertzel's algorithm for complex inputs
Power via Goertzel's algorithm for complex inputs
Goertzel's algorithm for real inputs