ApCoCoA-1:NCo.UnsetRelations: Difference between revisions

From ApCoCoAWiki
m fixed links to namespace ApCoCoA
m replaced <quotes> tag by real quotes
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Version|1}}
<command>
<command>
<title>NCo.UnsetRelations</title>
<title>NCo.UnsetRelations</title>
Line 9: Line 10:
<description>
<description>
<example>
<example>
NCo.SetX(<quotes>xyz</quotes>);
NCo.SetX("xyz");
NCo.SetRelations([[<quotes>yx</quotes>,<quotes>xy</quotes>],[<quotes>zx</quotes>,<quotes>xz</quotes>],[<quotes>zy</quotes>,<quotes>yz</quotes>]]); -- yx=xy, zx=xz, zy=yz
NCo.SetRelations([["yx","xy"],["zx","xz"],["zy","yz"]]); -- yx=xy, zx=xz, zy=yz
NCo.RingEnv();
NCo.RingEnv();
Coefficient ring : Q
Coefficient ring : Q
Alphabet : xyz
Alphabet : xyz
Ordering : LLEX
Ordering : LLEX
Relations : [[<quotes>yx</quotes>, <quotes>xy</quotes>], [<quotes>zx</quotes>, <quotes>xz</quotes>], [<quotes>zy</quotes>, <quotes>yz</quotes>]]
Relations : [["yx", "xy"], ["zx", "xz"], ["zy", "yz"]]
-------------------------------
-------------------------------
NCo.UnsetRelations();
NCo.UnsetRelations();

Latest revision as of 13:45, 29 October 2020

This article is about a function from ApCoCoA-1.

NCo.UnsetRelations

Set relations to the empty set.

Syntax

NCo.UnsetRelations()

Description

Example

NCo.SetX("xyz");
NCo.SetRelations([["yx","xy"],["zx","xz"],["zy","yz"]]); -- yx=xy, zx=xz, zy=yz
NCo.RingEnv();
Coefficient ring : Q
Alphabet : xyz
Ordering : LLEX
Relations : [["yx", "xy"], ["zx", "xz"], ["zy", "yz"]]
-------------------------------
NCo.UnsetRelations();
NCo.RingEnv();
Coefficient ring : Q
Alphabet : xyz
Ordering : LLEX
-------------------------------

See also

NCo.SetRelations