# XRecursivePolynomial(VarSet, R)ΒΆ

This type supports multivariate polynomials whose variables do not commute. The representation is recursive. The coefficient ring may be non-commutative. Coefficients and variables commute.

0: %

from AbelianMonoid

1: %

from MagmaWithUnit

*: (%, %) -> %

from Magma

*: (%, R) -> %

from RightModule R

*: (Integer, %) -> %

from AbelianGroup

*: (NonNegativeInteger, %) -> %

from AbelianMonoid

*: (PositiveInteger, %) -> %

from AbelianSemiGroup

*: (R, %) -> %

from LeftModule R

*: (VarSet, %) -> %

from XFreeAlgebra(VarSet, 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(VarSet, R)

coef: (%, FreeMonoid VarSet) -> R

from XFreeAlgebra(VarSet, R)

coefficient: (%, FreeMonoid VarSet) -> R

from FreeModuleCategory(R, FreeMonoid VarSet)

coefficients: % -> List R

from FreeModuleCategory(R, FreeMonoid VarSet)

coerce: % -> OutputForm
coerce: FreeMonoid VarSet -> %

from CoercibleFrom FreeMonoid VarSet

coerce: Integer -> %
coerce: R -> %

from CoercibleFrom R

coerce: VarSet -> %

from XFreeAlgebra(VarSet, R)

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

from XFreeAlgebra(VarSet, R)

constant: % -> R

from XFreeAlgebra(VarSet, R)

construct: List Record(k: FreeMonoid VarSet, c: R) -> %

from IndexedProductCategory(R, FreeMonoid VarSet)

constructOrdered: List Record(k: FreeMonoid VarSet, c: R) -> % if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

degree: % -> NonNegativeInteger

from XPolynomialsCat(VarSet, R)

expand: % -> XDistributedPolynomial(VarSet, R)

`expand(p)` returns `p` in distributed form.

latex: % -> String

from SetCategory

leadingCoefficient: % -> R if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

leadingMonomial: % -> % if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

leadingSupport: % -> FreeMonoid VarSet if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

leadingTerm: % -> Record(k: FreeMonoid VarSet, c: R) if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

leftPower: (%, NonNegativeInteger) -> %

from MagmaWithUnit

leftPower: (%, PositiveInteger) -> %

from Magma

leftRecip: % -> Union(%, failed)

from MagmaWithUnit

linearExtend: (FreeMonoid VarSet -> R, %) -> R if R has CommutativeRing

from FreeModuleCategory(R, FreeMonoid VarSet)

listOfTerms: % -> List Record(k: FreeMonoid VarSet, c: R)

from IndexedDirectProductCategory(R, FreeMonoid VarSet)

lquo: (%, %) -> %

from XFreeAlgebra(VarSet, R)

lquo: (%, FreeMonoid VarSet) -> %

from XFreeAlgebra(VarSet, R)

lquo: (%, VarSet) -> %

from XFreeAlgebra(VarSet, R)

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

from IndexedProductCategory(R, FreeMonoid VarSet)

maxdeg: % -> FreeMonoid VarSet

from XPolynomialsCat(VarSet, R)

mindeg: % -> FreeMonoid VarSet

from XFreeAlgebra(VarSet, R)

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

from XFreeAlgebra(VarSet, R)

mirror: % -> %

from XFreeAlgebra(VarSet, R)

monomial?: % -> Boolean

from IndexedProductCategory(R, FreeMonoid VarSet)

monomial: (R, FreeMonoid VarSet) -> %

from IndexedProductCategory(R, FreeMonoid VarSet)

monomials: % -> List %

from FreeModuleCategory(R, FreeMonoid VarSet)

numberOfMonomials: % -> NonNegativeInteger

from IndexedDirectProductCategory(R, FreeMonoid VarSet)

one?: % -> Boolean

from MagmaWithUnit

opposite?: (%, %) -> Boolean

from AbelianMonoid

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

from XFreeAlgebra(VarSet, R)

quasiRegular: % -> %

from XFreeAlgebra(VarSet, R)

recip: % -> Union(%, failed)

from MagmaWithUnit

reductum: % -> % if FreeMonoid VarSet has Comparable

from IndexedProductCategory(R, FreeMonoid VarSet)

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

`RemainderList(p)` returns the regular part of `p` as a list of terms.

retract: % -> FreeMonoid VarSet

from RetractableTo FreeMonoid VarSet

retract: % -> R

from RetractableTo R

retractIfCan: % -> Union(FreeMonoid VarSet, failed)

from RetractableTo FreeMonoid VarSet

retractIfCan: % -> Union(R, failed)

from RetractableTo R

rightPower: (%, NonNegativeInteger) -> %

from MagmaWithUnit

rightPower: (%, PositiveInteger) -> %

from Magma

rightRecip: % -> Union(%, failed)

from MagmaWithUnit

rquo: (%, %) -> %

from XFreeAlgebra(VarSet, R)

rquo: (%, FreeMonoid VarSet) -> %

from XFreeAlgebra(VarSet, R)

rquo: (%, VarSet) -> %

from XFreeAlgebra(VarSet, R)

sample: %

from AbelianMonoid

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

from XFreeAlgebra(VarSet, R)

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

from XFreeAlgebra(VarSet, R)

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

from Comparable

subtractIfCan: (%, %) -> Union(%, failed)
support: % -> List FreeMonoid VarSet

from FreeModuleCategory(R, FreeMonoid VarSet)

trunc: (%, NonNegativeInteger) -> %

from XPolynomialsCat(VarSet, R)

unexpand: XDistributedPolynomial(VarSet, R) -> %

`unexpand(p)` returns `p` in recursive form.

varList: % -> List VarSet

from XFreeAlgebra(VarSet, R)

zero?: % -> Boolean

from AbelianMonoid

AbelianGroup

AbelianMonoid

AbelianSemiGroup

Algebra R if R has CommutativeRing

BasicType

BiModule(%, %)

BiModule(R, R)

CancellationAbelianMonoid

CoercibleFrom FreeMonoid VarSet

Comparable if R has Comparable and FreeMonoid VarSet has Comparable

FreeModuleCategory(R, FreeMonoid VarSet)

IndexedDirectProductCategory(R, FreeMonoid VarSet)

IndexedProductCategory(R, FreeMonoid VarSet)

Magma

MagmaWithUnit

Module R if R has CommutativeRing

Monoid

NonAssociativeAlgebra R if R has CommutativeRing

NonAssociativeRing

NonAssociativeRng

NonAssociativeSemiRing

NonAssociativeSemiRng

noZeroDivisors if R has noZeroDivisors

RetractableTo FreeMonoid VarSet

Ring

Rng

SemiGroup

SemiRing

SemiRng

SetCategory

unitsKnown

XFreeAlgebra(VarSet, R)

XPolynomialsCat(VarSet, R)