Difference between revisions of "ApCoCoA-1:NCo.UnsetRelations"
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( | + | NCo.SetX("xyz"); |
− | NCo.SetRelations([[ | + | 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 : [[ | + | 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