Copyright | Copyright (c) 2009-2014, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Tested with: GHC 7.8.3
The module defines something which is most close to the notion of analogous circuit as an opposite to the digital one.
- newtype Transform m a b = Transform {
- runTransform :: Dynamics m a -> Simulation m (Dynamics m b)
- delayTransform :: MonadComp m => Dynamics m Double -> Dynamics m a -> Transform m a a
- timeTransform :: MonadComp m => Transform m a Double
- integTransform :: (MonadComp m, MonadFix m) => Dynamics m Double -> Transform m Double Double
- sumTransform :: (MonadComp m, MonadFix m, Num a, Unboxed m a) => Dynamics m a -> Transform m a a
The Transform Arrow
newtype Transform m a b Source
It allows representing an analogous circuit as an opposite to the digital one.
This is a transform of one time varying function to another usually
specified in the integration time points and then interpolated in
other time points with help of one of the memoization functions
like memo0Dynamics
.
Transform | |
|
Delaying the Transform
The Time Transform
timeTransform :: MonadComp m => Transform m a Double Source
A transform that returns the current modeling time.