Yampa-0.9.7: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson, Yale University, 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainernilsson@cs.yale.edu
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell98

FRP.Yampa.AffineSpace

Description

Affine space type relation.

Documentation

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

Minimal complete definition

origin, (.+^), (.-.)

Methods

origin :: p

(.+^) :: p -> v -> p infix 6

(.-^) :: p -> v -> p infix 6

(.-.) :: p -> p -> v infix 6

distance :: p -> p -> a

Instances