Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sumRangeFromPyramidFoldr :: (C v, Transform sig v) => [sig v] -> (Int, Int) -> vsynthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
sumRangeFromPyramidReverse :: (C v, Transform sig v) => [sig v] -> (Int, Int) -> vsynthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
sums :: (C v, Transform sig v) => Int -> sig v -> sig vsynthesizer-core Synthesizer.Generic.Filter.NonRecursive Moving (uniformly weighted) average in the most trivial form. This is very slow and needs about n * length x operations.
sumsDownsample2 :: (C v, Write sig v) => LazySize -> sig v -> sig vsynthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
-
synthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
-
synthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
sumsStaticInt :: (C v, Write sig v) => Int -> sig v -> sig vsynthesizer-core Synthesizer.Generic.Filter.Recursive.MovingAverage Like sums but in a recursive form. This needs only linear time (independent of the window size) but may accumulate rounding errors.
ys = xs * (1,0,0,0,-1) / (1,-1) ys * (1,-1) = xs * (1,0,0,0,-1) ys = xs * (1,0,0,0,-1) + ys * (0,1)
sum1 :: (C a, Read sig a) => sig a -> asynthesizer-core Synthesizer.Generic.Signal No documentation available.
sumRange :: C v => T v -> (Int, Int) -> vsynthesizer-core Synthesizer.Plain.Filter.NonRecursive Compute the sum of the values from index l to (r-1). (I.e. somehow a right open interval.) This can be used for implementation of a moving average filter. However, its counterpart sumRangeFromPyramid is much faster for large windows.
sumRangeFromPyramid :: C v => [T v] -> (Int, Int) -> vsynthesizer-core Synthesizer.Plain.Filter.NonRecursive This function should be much faster than sumRange but slower than the recursively implemented movingAverage. However in contrast to movingAverage it should not suffer from cancelation.