Portability | non-portable (GHC extensions) |
---|---|

Stability | provisional |

Maintainer | nilsson@cs.yale.edu |

Safe Haskell | Safe-Inferred |

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 aSource

vector3Rho :: RealFloat a => Vector3 a -> aSource

vector3Theta :: RealFloat a => Vector3 a -> aSource

vector3Phi :: RealFloat a => Vector3 a -> aSource

vector3RhoThetaPhi :: RealFloat a => Vector3 a -> (a, a, a)Source

vector3Rotate :: RealFloat a => a -> a -> Vector3 a -> Vector3 aSource