AbelianMonoidΒΆ
catdef.spad line 37 [edit on github]
The class of multiplicative monoids, i.e. semigroups with an additive identity element.
- 0: %
0 is the additive identity element.
- *: (NonNegativeInteger, %) -> %
n * x
is left-multiplication by a non negative integer- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
from AbelianSemiGroup
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- latex: % -> String
from SetCategory
- opposite?: (%, %) -> Boolean
opposite?(x,y)
holds if the sum ofx
andy
is0
.
- sample: %
sample yields
a value of type %
- zero?: % -> Boolean
zero?(x)
tests ifx
is equal to 0.