AbelianGroupΒΆ
catdef.spad line 1 [edit on github]
The class of abelian groups, i.e. additive monoids where each element has an additive inverse.
- 0: %
from AbelianMonoid
- *: (Integer, %) -> %
n*x
is the product ofx
by the integern
.- *: (NonNegativeInteger, %) -> %
from AbelianMonoid
- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
from AbelianSemiGroup
- -: % -> %
-x
is the additive inverse ofx
.
- -: (%, %) -> %
x-y
is the difference ofx
andy
i.e.x + (-y)
.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- latex: % -> String
from SetCategory
- opposite?: (%, %) -> Boolean
from AbelianMonoid
- sample: %
from AbelianMonoid
- subtractIfCan: (%, %) -> Union(%, failed)
- zero?: % -> Boolean
from AbelianMonoid