Difference between revisions of "ApCoCoA-1:BBSGen.Wmat"

From ApCoCoAWiki
Line 40: Line 40:
 
     <type>apcocoaserver</type>
 
     <type>apcocoaserver</type>
 
   </types>
 
   </types>
<see>borderbasis.Border</see>
+
<see>BB.Border</see>
   <see>borderbasis.Box</see>
+
   <see>BB.Box</see>
 
   <key>Wmat</key>
 
   <key>Wmat</key>
 
   <key>BBSGen.Wmat</key>
 
   <key>BBSGen.Wmat</key>

Revision as of 15:33, 31 May 2012

BBSGen.Wmat

This function computes the Weight Matrix with respect to the arrow grading.

Syntax

WMat(OO,BO,N):
WMat(OO:LIST,BO:LIST,N:INTEGER):MATRIX

Description


  • @param The order ideal OO, the border BO and the number of Indeterminates of the Polynomial Ring.

  • @return Weight Matrix.


Example

Use R::=QQ[x[1..2]];
OO:=BB.Box([1,1]); 
BO:=BB.Border(OO);
N:=Len(Indets());
----------------------
W:=Wmat(OO,BO,N); 
W;

Mat([
  [0, 2, 1, 2, 0, 2, 1, 2, -1, 1, 0, 1, -1, 1, 0, 1],
  [2, 0, 2, 1, 1, -1, 1, 0, 2, 0, 2, 1, 1, -1, 1, 0]
])



BB.Border

BB.Box