vector-space-0.2.0: Vector & affine spaces, plus derivativesSource codeContentsIndex
Data.AdditiveGroup
Stabilityexperimental
Maintainerconal@conal.net, andygill@ku.edu
Description
Groups: zero, addition, and negation (additive inverse)
Synopsis
class AdditiveGroup v where
zeroV :: v
(^+^) :: v -> v -> v
negateV :: v -> v
(^-^) :: AdditiveGroup v => v -> v -> v
Documentation
class AdditiveGroup v whereSource
Additive group v.
Methods
zeroV :: vSource
The zero element: identity for '(^+^)'
(^+^) :: v -> v -> vSource
Add vectors
negateV :: v -> vSource
Additive inverse
show/hide Instances
(^-^) :: AdditiveGroup v => v -> v -> vSource
Group subtraction
Produced by Haddock version 2.3.0