Safe Haskell | None |
---|---|
Language | Haskell2010 |
- linear :: (Monad m, Clock m cl1, Clock m cl2, VectorSpace v, Groundfield v ~ Diff (TimeDomainOf cl1), Groundfield v ~ Diff (TimeDomainOf cl2)) => v -> v -> ResamplingBuffer m cl1 cl2 v v
Documentation
:: (Monad m, Clock m cl1, Clock m cl2, VectorSpace v, Groundfield v ~ Diff (TimeDomainOf cl1), Groundfield v ~ Diff (TimeDomainOf cl2)) | |
=> v | The initial velocity (derivative of the signal) |
-> v | The initial position |
-> ResamplingBuffer m cl1 cl2 v v |
A simple linear interpolation based on the last calculated position and velocity.