Yampa-0.10.4: 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
LanguageHaskell98

FRP.Yampa.Vector2

Description

2D vector abstraction (R^2).

ToDo: Deriving Show, or provide dedicated show instance?

Documentation

vector2 :: RealFloat a => a -> a -> Vector2 a Source

vector2XY :: RealFloat a => Vector2 a -> (a, a) Source

vector2Polar :: RealFloat a => a -> a -> Vector2 a Source