Difference between revisions of "ApCoCoA-1:NCo.SetX"
From ApCoCoAWiki
m (Bot: Category moved) |
|||
Line 36: | Line 36: | ||
<key>NCo.SetX</key> | <key>NCo.SetX</key> | ||
<key>SetX</key> | <key>SetX</key> | ||
− | <wiki-category>Package_gbmr</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_gbmr</wiki-category> |
</command> | </command> |
Revision as of 16:31, 2 October 2020
NCo.SetX
Set alphabet (set of indeterminates) for a free monoid ring.
Syntax
NCo.SetX(X:STRING)
Description
@param X: a STRING which is the alphabet (set of indeterminates) of a free monoid ring. Every letter in X must have a unique occurrence. The order of letters in X is important since it will induce word orderings. For example,
NCo.SetX("xyz"); NCo.SetOrdering("LLEX");
defines the length-lexicographic ordering induced by x>y>z.
Example
NCo.RingEnv(); Coefficient ring : Q Ordering : LLEX ------------------------------- NCo.SetX(<quotes>xyz</quotes>); NCo.RingEnv(); Coefficient ring : Q Alphabet : xyz Ordering : LLEX -------------------------------
See also