ApCoCoA-1:NCo.SetX: Difference between revisions
From ApCoCoAWiki
New page: <command> <title>NCo.SetX</title> <short_description> Set alphabet (set of indeterminates). </short_description> <syntax> NCo.SetX(X:STRING) </syntax> <description> <itemize> <item>@param ... |
No edit summary |
||
Line 2: | Line 2: | ||
<title>NCo.SetX</title> | <title>NCo.SetX</title> | ||
<short_description> | <short_description> | ||
Set alphabet (set of indeterminates). | Set alphabet (set of indeterminates) for a free monoid ring. | ||
</short_description> | </short_description> | ||
<syntax> | <syntax> | ||
Line 9: | Line 9: | ||
<description> | <description> | ||
<itemize> | <itemize> | ||
<item>@param <em>X</em>: a STRING which is the alphabet (set of indeterminates) of a free monoid ring. Every letter in <tt>X</tt> must have a unique | <item>@param <em>X</em>: a STRING which is the alphabet (set of indeterminates) of a free monoid ring. Every letter in <tt>X</tt> 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.</item> | |||
</itemize> | </itemize> | ||
<example> | <example> | ||
Line 25: | Line 28: | ||
</description> | </description> | ||
<seealso> | <seealso> | ||
<see>NCo.SetOrdering</see> | <see>NCo.SetOrdering</see> | ||
</seealso> | </seealso> | ||
<types> | <types> |
Revision as of 15:50, 30 April 2013
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