AbelianSemiGroupΒΆ
catdef.spad line 78 [edit on github]
the class of all additive (commutative) semigroups, i.e. a set with a commutative and associative operation +.
- *: (PositiveInteger, %) -> %
n*xcomputes the left-multiplication ofxby the positive integern. This is equivalent to addingxto itselfntimes.
- +: (%, %) -> %
x+ycomputes the sum ofxandy.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- latex: % -> String
from SetCategory