Safe Haskell | None |
---|---|
Language | Haskell2010 |
A buffer keeping the last value, or zero-order hold.
Synopsis
- keepLast :: Monad m => a -> ResamplingBuffer m cl1 cl2 a a
Documentation
keepLast :: Monad m => a -> ResamplingBuffer m cl1 cl2 a a Source #
Always keeps the last input value,
or in case of no input an initialisation value.
If cl2
approximates continuity,
this behaves like a zero-order hold.