affine-0.1.1.0: Affine spaces (generalized)
Safe HaskellSafe
LanguageHaskell2010

Algebra.Affine

Documentation

class Group (Diff a) => Affine a where Source #

Associated Types

type Diff a Source #

Methods

diff :: a -> a -> Diff a Source #

offset :: Diff a -> a -> a Source #

(.-.) :: Affine a => a -> a -> Diff a infix 6 Source #

(.+) :: Affine a => a -> Diff a -> a infixl 6 Source #

(.-) :: Affine a => a -> Diff a -> a infixl 6 Source #