# XPolynomial RΒΆ

This type supports multivariate polynomials whose set of variables is Symbol. The representation is recursive. The coefficient ring may be non-commutative and the variables do not commute. However, coefficients and variables commute.

0: %

from AbelianMonoid

1: %

from MagmaWithUnit

*: (%, %) -> %

from Magma

*: (%, R) -> %

from XFreeAlgebra(Symbol, R)

*: (Integer, %) -> %

from AbelianGroup

*: (NonNegativeInteger, %) -> %

from AbelianMonoid

*: (PositiveInteger, %) -> %

from AbelianSemiGroup

*: (R, %) -> %

from LeftModule R

*: (Symbol, %) -> %

from XFreeAlgebra(Symbol, R)

+: (%, %) -> %

from AbelianSemiGroup

-: % -> %

from AbelianGroup

-: (%, %) -> %

from AbelianGroup

=: (%, %) -> Boolean

from BasicType

^: (%, NonNegativeInteger) -> %

from MagmaWithUnit

^: (%, PositiveInteger) -> %

from Magma

~=: (%, %) -> Boolean

from BasicType

annihilate?: (%, %) -> Boolean

from Rng

antiCommutator: (%, %) -> %
associator: (%, %, %) -> %
characteristic: () -> NonNegativeInteger
coef: (%, %) -> R

from XFreeAlgebra(Symbol, R)

coef: (%, FreeMonoid Symbol) -> R

from XFreeAlgebra(Symbol, R)

coefficient: (%, FreeMonoid Symbol) -> R
coefficients: % -> List R
coerce: % -> OutputForm
coerce: FreeMonoid Symbol -> %
coerce: Integer -> %
coerce: R -> %

from CoercibleFrom R

coerce: Symbol -> %

from XFreeAlgebra(Symbol, R)

commutator: (%, %) -> %
constant?: % -> Boolean

from XFreeAlgebra(Symbol, R)

constant: % -> R

from XFreeAlgebra(Symbol, R)

construct: List Record(k: FreeMonoid Symbol, c: R) -> %
constructOrdered: List Record(k: FreeMonoid Symbol, c: R) -> %
degree: % -> NonNegativeInteger

from XPolynomialsCat(Symbol, R)

expand: % -> XDistributedPolynomial(Symbol, R)

latex: % -> String

from SetCategory

leadingCoefficient: % -> R
leadingMonomial: % -> %
leadingSupport: % -> FreeMonoid Symbol
leadingTerm: % -> Record(k: FreeMonoid Symbol, c: R)
leftPower: (%, NonNegativeInteger) -> %

from MagmaWithUnit

leftPower: (%, PositiveInteger) -> %

from Magma

leftRecip: % -> Union(%, failed)

from MagmaWithUnit

linearExtend: (FreeMonoid Symbol -> R, %) -> R if R has CommutativeRing
listOfTerms: % -> List Record(k: FreeMonoid Symbol, c: R)
lquo: (%, %) -> %

from XFreeAlgebra(Symbol, R)

lquo: (%, FreeMonoid Symbol) -> %

from XFreeAlgebra(Symbol, R)

lquo: (%, Symbol) -> %

from XFreeAlgebra(Symbol, R)

map: (R -> R, %) -> %

from XFreeAlgebra(Symbol, R)

maxdeg: % -> FreeMonoid Symbol

from XPolynomialsCat(Symbol, R)

mindeg: % -> FreeMonoid Symbol

from XFreeAlgebra(Symbol, R)

mindegTerm: % -> Record(k: FreeMonoid Symbol, c: R)

from XFreeAlgebra(Symbol, R)

mirror: % -> %

from XFreeAlgebra(Symbol, R)

monomial?: % -> Boolean

from XFreeAlgebra(Symbol, R)

monomial: (R, FreeMonoid Symbol) -> %

from XFreeAlgebra(Symbol, R)

monomials: % -> List %
numberOfMonomials: % -> NonNegativeInteger
one?: % -> Boolean

from MagmaWithUnit

opposite?: (%, %) -> Boolean

from AbelianMonoid

plenaryPower: (%, PositiveInteger) -> % if R has CommutativeRing
quasiRegular?: % -> Boolean

from XFreeAlgebra(Symbol, R)

quasiRegular: % -> %

from XFreeAlgebra(Symbol, R)

recip: % -> Union(%, failed)

from MagmaWithUnit

reductum: % -> %

RemainderList: % -> List Record(k: Symbol, c: %)

retract: % -> FreeMonoid Symbol
retract: % -> R

from RetractableTo R

retractIfCan: % -> Union(FreeMonoid Symbol, failed)
retractIfCan: % -> Union(R, failed)

from RetractableTo R

rightPower: (%, NonNegativeInteger) -> %

from MagmaWithUnit

rightPower: (%, PositiveInteger) -> %

from Magma

rightRecip: % -> Union(%, failed)

from MagmaWithUnit

rquo: (%, %) -> %

from XFreeAlgebra(Symbol, R)

rquo: (%, FreeMonoid Symbol) -> %

from XFreeAlgebra(Symbol, R)

rquo: (%, Symbol) -> %

from XFreeAlgebra(Symbol, R)

sample: %

from AbelianMonoid

sh: (%, %) -> % if R has CommutativeRing

from XFreeAlgebra(Symbol, R)

sh: (%, NonNegativeInteger) -> % if R has CommutativeRing

from XFreeAlgebra(Symbol, R)

smaller?: (%, %) -> Boolean if R has Comparable

from Comparable

subtractIfCan: (%, %) -> Union(%, failed)
support: % -> List FreeMonoid Symbol
trunc: (%, NonNegativeInteger) -> %

from XPolynomialsCat(Symbol, R)

unexpand: XDistributedPolynomial(Symbol, R) -> %

varList: % -> List Symbol

from XFreeAlgebra(Symbol, R)

zero?: % -> Boolean

from AbelianMonoid

AbelianGroup

AbelianMonoid

AbelianSemiGroup

Algebra R if R has CommutativeRing

BasicType

BiModule(%, %)

BiModule(R, R)

CancellationAbelianMonoid

Comparable if R has Comparable

Magma

MagmaWithUnit

Module R if R has CommutativeRing

Monoid

NonAssociativeAlgebra R if R has CommutativeRing

NonAssociativeRing

NonAssociativeRng

NonAssociativeSemiRing

NonAssociativeSemiRng

noZeroDivisors if R has noZeroDivisors

Ring

Rng

SemiGroup

SemiRing

SemiRng

SetCategory

unitsKnown

XFreeAlgebra(Symbol, R)