Copyright | (c) Antony Courtney and Henrik Nilsson, Yale University, 2003 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | nilsson@cs.yale.edu |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
3D vector abstraction (R^3).
ToDo: Deriving Show, or provide dedicated show instance?
Documentation
vector3XYZ :: RealFloat a => Vector3 a -> (a, a, a) Source
vector3Spherical :: RealFloat a => a -> a -> a -> Vector3 a Source
vector3Rho :: RealFloat a => Vector3 a -> a Source
vector3Theta :: RealFloat a => Vector3 a -> a Source
vector3Phi :: RealFloat a => Vector3 a -> a Source
vector3RhoThetaPhi :: RealFloat a => Vector3 a -> (a, a, a) Source
vector3Rotate :: RealFloat a => a -> a -> Vector3 a -> Vector3 a Source