Group¶
catdef.spad line 759 [edit on github]
The class of multiplicative groups, i.e. monoids with multiplicative inverses.
- 1: %
from MagmaWithUnit
- /: (%, %) -> %
x/y
is the same asx
times the inverse ofy
.
- ^: (%, Integer) -> %
x^n
returnsx
raised to the integer powern
.- ^: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- ^: (%, PositiveInteger) -> %
from Magma
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- commutator: (%, %) -> %
commutator(p, q)
computesinv(p) * inv(q) * p * q
.
- conjugate: (%, %) -> %
conjugate(p, q)
computesinv(q) * p * q
; this is ‘right action by conjugation’.
- inv: % -> %
inv(x)
returns the inverse ofx
.
- latex: % -> String
from SetCategory
- leftPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- leftPower: (%, PositiveInteger) -> %
from Magma
- leftRecip: % -> Union(%, failed)
from MagmaWithUnit
- one?: % -> Boolean
from MagmaWithUnit
- recip: % -> Union(%, failed)
from MagmaWithUnit
- rightPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- rightPower: (%, PositiveInteger) -> %
from Magma
- rightRecip: % -> Union(%, failed)
from MagmaWithUnit
- sample: %
from MagmaWithUnit