Difference between revisions of "ApCoCoA-1:DA.DiffTO"

From ApCoCoAWiki
m (insert version info)
m (replaced <quotes> tag by real quotes)
 
Line 16: Line 16:
 
-- Assume that the current ring is given by QQ[x[1..n,0..m]].  
 
-- Assume that the current ring is given by QQ[x[1..n,0..m]].  
 
-- Then D can be one of the following values:
 
-- Then D can be one of the following values:
-- <quotes>Lex</quotes>:    Lexicographic ordering with 1&lt;x[1,0]&lt;x[1,1]&lt;x[1,2]&lt;...&lt;x[2,0]&lt;x[2,1]&lt;...  
+
-- "Lex":    Lexicographic ordering with 1&lt;x[1,0]&lt;x[1,1]&lt;x[1,2]&lt;...&lt;x[2,0]&lt;x[2,1]&lt;...  
-- <quotes>DegLex</quotes>:  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Lex T
+
-- "DegLex":  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Lex T
-- <quotes>WLex</quotes>:    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Lex T
+
-- "WLex":    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Lex T
-- <quotes>Ord</quotes>:    Lexicographic ordering with 1&lt;x[1,0]&lt;x[2,0]&lt;...&lt;x[1,1]&lt;x[2,1]&lt;...
+
-- "Ord":    Lexicographic ordering with 1&lt;x[1,0]&lt;x[2,0]&lt;...&lt;x[1,1]&lt;x[2,1]&lt;...
-- <quotes>DegOrd</quotes>:  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Ord T
+
-- "DegOrd":  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Ord T
-- <quotes>WOrd</quotes>:    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Ord T
+
-- "WOrd":    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Ord T
 
--
 
--
 
-- Use as follows:
 
-- Use as follows:
 
Use QQ[x[1..1,0..20]];
 
Use QQ[x[1..1,0..20]];
Use QQ[x[1..1,0..20]], Ord(DA.DiffTO(<quotes>Lex</quotes>));
+
Use QQ[x[1..1,0..20]], Ord(DA.DiffTO("Lex"));
 
</example>
 
</example>
 
</description>
 
</description>

Latest revision as of 13:29, 29 October 2020

This article is about a function from ApCoCoA-1.

DA.DiffTO

Matrix corresponding to predefined differential term orderings.

Syntax

DA.DiffTO(D:STRING):MAT

Description

This function returns the matrix corresponding to the indicated term ordering D.

  • @param D Name of a predefined differential term ordering.

  • @return The matrix corresponding to the predefined term ordering.

Example

-- Assume that the current ring is given by QQ[x[1..n,0..m]]. 
-- Then D can be one of the following values:
-- "Lex":     Lexicographic ordering with 1&lt;x[1,0]&lt;x[1,1]&lt;x[1,2]&lt;...&lt;x[2,0]&lt;x[2,1]&lt;... 
-- "DegLex":  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Lex T
-- "WLex":    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Lex T
-- "Ord":     Lexicographic ordering with 1&lt;x[1,0]&lt;x[2,0]&lt;...&lt;x[1,1]&lt;x[2,1]&lt;...
-- "DegOrd":  S > T iff Deg(S) > Deg(T) or Deg(S) = Deg(T) and S >_Ord T
-- "WOrd":    S > T iff Weight(S) > Weight(T) or Weight(S) = Weight(T) and S >_Ord T
--
-- Use as follows:
Use QQ[x[1..1,0..20]];
Use QQ[x[1..1,0..20]], Ord(DA.DiffTO("Lex"));

DA.Weight