PoincareBirkhoffWittLyndonBasis VarSetΒΆ
xlpoly.spad line 647 [edit on github]
VarSet: OrderedSet
This domain provides the internal representation of polynomials in non-commutative variables written over the Poincare-Birkhoff-Witt basis. See the XPBWPolynomial domain constructor. See Free Lie Algebras by C
. Reutenauer (Oxford science publications). Author: Michel Petitot (petitot@lifl.fr
).
- 1: %
1
returns the empty list.
- <=: (%, %) -> Boolean
from PartialOrder
- <: (%, %) -> Boolean
from PartialOrder
- >=: (%, %) -> Boolean
from PartialOrder
- >: (%, %) -> Boolean
from PartialOrder
- coerce: % -> FreeMonoid VarSet
coerce([l1]*[l2]*...[ln])
returns the wordl1*l2*...*ln
, where[l_i]
is the backeted form of the Lyndon wordl_i
.- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: LyndonWord VarSet -> %
from CoercibleFrom LyndonWord VarSet
- coerce: VarSet -> %
coerce(v)
returnv
- first: % -> LyndonWord VarSet
first([l1]*[l2]*...[ln])
returns the Lyndon wordl1
.
- latex: % -> String
from SetCategory
- length: % -> NonNegativeInteger
length([l1]*[l2]*...[ln])
returns the length of the wordl1*l2*...*ln
.
- listOfTerms: % -> List LyndonWord VarSet
listOfTerms([l1]*[l2]*...[ln])
returns the list of wordsl1, l2, .... ln
.
- max: (%, %) -> %
from OrderedSet
- min: (%, %) -> %
from OrderedSet
- rest: % -> %
rest([l1]*[l2]*...[ln])
returns the listl2, .... ln
.
- retract: % -> LyndonWord VarSet
from RetractableTo LyndonWord VarSet
- retractable?: % -> Boolean
retractable?([l1]*[l2]*...[ln])
returnstrue
iffn
equals1
.
- retractIfCan: % -> Union(LyndonWord VarSet, failed)
from RetractableTo LyndonWord VarSet
- smaller?: (%, %) -> Boolean
from Comparable
- varList: % -> List VarSet
varList([l1]*[l2]*...[ln])
returns the list of variables in the wordl1*l2*...*ln
.
CoercibleFrom LyndonWord VarSet
RetractableTo LyndonWord VarSet