| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
ForSyDe.Atom.Skel.FastVector.DSP
Synopsis
- taylor :: (Eq a, Floating a) => Int -> Int -> a -> Vector a
- taylor' :: (Eq a, Floating a) => p -> a -> Vector a
- dotvm :: Num a => Vector a -> Vector (Vector a) -> Vector a
- dotvv :: Num a => Vector a -> Vector a -> a
- dotvv' :: Num a => ((a -> a -> a) -> f a -> f a -> f a) -> Vector (f a) -> Vector (f a) -> f a
- dotmv' :: (a -> a -> a) -> (b -> a -> a) -> Vector (Vector b) -> Vector a -> Vector a
- dotvm' :: (b -> b -> b) -> (a -> b -> b) -> Vector a -> Vector (Vector b) -> Vector b
- hanning :: Floating n => Int -> Vector n
- hamming :: Floating n => Int -> Vector n
- blackman :: Floating n => Int -> Vector n
- fir :: Num a => Vector a -> Vector a -> Vector a
- fir' :: (a -> a -> a) -> (c -> a -> a) -> (a -> a) -> Vector c -> a -> a
- twiddles :: Floating a => Int -> Vector (Complex a)
- fft :: RealFloat a => Int -> Vector (Complex a) -> Vector (Complex a)
- fft' :: Floating a => (Complex a -> a -> a -> (a, a)) -> Int -> Vector a -> Vector a
- duals :: Vector a -> (Vector a, Vector a)
- unduals :: Vector a -> Vector a -> Vector a
- bitrev :: Vector a2 -> Vector a2
Documentation
Arguments
| :: (Eq a, Floating a) | |
| => Int | number of points in the output window. |
| -> Int | Number of nearly constant level sidelobes adjacent to the mainlobe |
| -> a | Desired peak sidelobe level in decibels (db) relative to the mainlobe |
| -> Vector a | The window, with the center value normalized to one (the value one appears only if the number of samples is odd). |
See taylor.
Arguments
| :: Num a | |
| => ((a -> a -> a) -> f a -> f a -> f a) | higher-order function that can wrap the (*) operation. |
| -> Vector (f a) | |
| -> Vector (f a) | |
| -> f a |
See dotvv'.
Arguments
| :: (a -> a -> a) | kernel function for a row/column reduction, e.g. |
| -> (b -> a -> a) | binary operation for pair-wise elements, e.g. |
| -> Vector (Vector b) | size = |
| -> Vector a | length = |
| -> Vector a | length = |
See dotmv'.
Arguments
| :: (b -> b -> b) | kernel function for a row/column reduction, e.g. |
| -> (a -> b -> b) | binary operation for pair-wise elements, e.g. |
| -> Vector a | length = |
| -> Vector (Vector b) | size = |
| -> Vector b | length = |
See dotvm'.
Arguments
| :: Num a | |
| => Vector a | vector of coefficients |
| -> Vector a | input vector of numbers; size = |
| -> Vector a | output vector of numbers; size = |
See fir.
Arguments
| :: (a -> a -> a) | process/operation replacing |
| -> (c -> a -> a) | process/operation replacing |
| -> (a -> a) | delay process |
| -> Vector c | vector of coefficients |
| -> a | input signal/structure |
| -> a | output signal/structure |
See fir'.