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 |
Affine space type relation.
Documentation
class (Floating a, VectorSpace v a) => AffineSpace p v a | p -> v, v -> a where Source
(.+^) :: p -> v -> p infix 6 Source
(.-^) :: p -> v -> p infix 6 Source
RealFloat a => AffineSpace (Point2 a) (Vector2 a) a | |
RealFloat a => AffineSpace (Point3 a) (Vector3 a) a |