Yampa-0.10.6.2: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson Yale University 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainerivan.perez@keera.co.uk
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell98

FRP.Yampa.Integration

Contents

Description

 

Synopsis

Integration

integral :: VectorSpace a s => SF a a #

Integration using the rectangle rule.

imIntegral :: VectorSpace a s => a -> SF a a #

"Immediate" integration (using the function's value at the current time)

impulseIntegral :: VectorSpace a k => SF (a, Event a) a #

count :: Integral b => SF (Event a) (Event b) #

Differentiation

derivative :: VectorSpace a s => SF a a #

A very crude version of a derivative. It simply divides the value difference by the time difference. Use at your own risk.

iterFrom :: (a -> a -> DTime -> b -> b) -> b -> SF a b #