Portability | non-portable (GHC extensions) |
---|---|
Stability | provisional |
Maintainer | nilsson@cs.yale.edu |
Safe Haskell | Safe-Inferred |
2D vector abstraction (R^2).
ToDo: Deriving Show, or provide dedicated show instance?
Documentation
vector2Polar :: RealFloat a => a -> a -> Vector2 aSource
vector2Rho :: RealFloat a => Vector2 a -> aSource
vector2Theta :: RealFloat a => Vector2 a -> aSource
vector2RhoTheta :: RealFloat a => Vector2 a -> (a, a)Source
vector2Rotate :: RealFloat a => a -> Vector2 a -> Vector2 aSource