dsp-0.2.5: Haskell Digital Signal Processing
Matrix.Vector
generate :: Ix i => (i, i) -> (i -> a) -> Array i a Source #
fromList :: [a] -> Array Int a Source #
toList :: Array Int a -> [a] Source #
norm :: (Ix i, Floating a) => Array i a -> a Source #
scale :: (Ix i, Num a) => a -> Array i a -> Array i a Source #
lift2 :: Ix i => (a -> b -> c) -> Array i a -> Array i b -> Array i c Source #
add :: (Ix i, Num a) => Array i a -> Array i a -> Array i a Source #
sub :: (Ix i, Num a) => Array i a -> Array i a -> Array i a Source #