Copyright | (c) Antony Courtney and Henrik Nilsson, Yale University, 2003 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | ivan.perez@keera.co.uk |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell98 |
- integral :: (VectorSpace a, s ~ Scalar a, Fractional s) => SF a a
- imIntegral :: (VectorSpace a, s ~ Scalar a, Fractional s) => a -> SF a a
- derivative :: (VectorSpace a, s ~ Scalar a, Fractional s) => SF a a
- impulseIntegral :: (VectorSpace a, k ~ Scalar a, Fractional k) => SF (a, Event a) a
- count :: Integral b => SF (Event a) (Event b)
Integration
integral :: (VectorSpace a, s ~ Scalar a, Fractional s) => SF a a Source
Integration using the rectangle rule.
imIntegral :: (VectorSpace a, s ~ Scalar a, Fractional s) => a -> SF a a Source
"Immediate" integration (using the function's value at the current time)
Differentiation
derivative :: (VectorSpace a, s ~ Scalar a, Fractional s) => SF a a Source
A very crude version of a derivative. It simply divides the value difference by the time difference. Use at your own risk.
impulseIntegral :: (VectorSpace a, k ~ Scalar a, Fractional k) => SF (a, Event a) a Source