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 Source

Minimal complete definition

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

Methods

origin :: p Source

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

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

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

distance :: p -> p -> a Source

Instances