netwire-1.2.6: Arrowized FRP implementation

MaintainerErtugrul Soeylemez <es@ertes.de>

FRP.NetWire.Calculus

Contents

Description

Calculus functions.

Synopsis

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.

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

Integrate over time. The argument is the integration constant.

Never inhibits. Feedback by delay.