Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|

Calculus functions.

- derivative :: (Monad m, NFData v, VectorSpace v, Scalar v ~ Double) => Wire m v v
- derivativeFrom :: forall m v. (Monad m, NFData v, VectorSpace v, Scalar v ~ Double) => v -> Wire m v v
- integral :: (Monad m, NFData v, VectorSpace v, Scalar v ~ Double) => v -> Wire m v v

# Calculus over time

derivative :: (Monad m, NFData v, VectorSpace v, Scalar v ~ Double) => Wire m v vSource

Differentiate over time.

Inhibits at first instant.

derivativeFrom :: forall m v. (Monad m, NFData v, VectorSpace v, Scalar v ~ Double) => v -> Wire m v vSource

Differentiate over time. The argument is the value before the first instant.

Never inhibits. Feedback by delay.