Yampa-0.9.6: Library for programming hybrid systems.

Portabilitynon-portable (GHC extensions)
Stabilityprovisional
Maintainernilsson@cs.yale.edu
Safe HaskellSafe-Inferred

FRP.Yampa.AffineSpace

Description

Affine space type relation.

Documentation

class (Floating a, VectorSpace v a) => AffineSpace p v a | p -> v, v -> a whereSource

Methods

origin :: pSource

(.+^) :: p -> v -> pSource

(.-^) :: p -> v -> pSource

(.-.) :: p -> p -> vSource

distance :: p -> p -> aSource

Instances