Difference between revisions of "ApCoCoA-1:NCo.SetX"

From ApCoCoAWiki
m (Bot: Category moved)
m (replaced <quotes> tag by real quotes)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
<title>NCo.SetX</title>
 
<title>NCo.SetX</title>
Line 19: Line 20:
 
Ordering : LLEX
 
Ordering : LLEX
 
-------------------------------
 
-------------------------------
NCo.SetX(<quotes>xyz</quotes>);
+
NCo.SetX("xyz");
 
NCo.RingEnv();
 
NCo.RingEnv();
 
Coefficient ring : Q
 
Coefficient ring : Q
Line 28: Line 29:
 
</description>
 
</description>
 
<seealso>
 
<seealso>
<see>NCo.SetOrdering</see>
+
<see>ApCoCoA-1:NCo.SetOrdering|NCo.SetOrdering</see>
 
</seealso>
 
</seealso>
 
<types>
 
<types>

Latest revision as of 13:45, 29 October 2020

This article is about a function from ApCoCoA-1.

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("xyz");
NCo.RingEnv();
Coefficient ring : Q
Alphabet : xyz
Ordering : LLEX
-------------------------------

See also

NCo.SetOrdering