up previous next
PrintSectionalMatrix    --    print sectional matrix


Syntax
PrintSectionalMatrix(I: IDEAL): MAT
PrintSectionalMatrix(P/I: RING): MAT

Description
This function prints the sectional matrix of I or P/I. See SectionalMatrix for more information.

Example
/**/ use P ::= QQ[x,y,z];
/**/ I := ideal(x^4 -x*y^3,  x*y -z^2,  x*z^2 -y^3);
/**/ SectionalMatrix(P/I);
matrix(ZZ,
 [[1, 1, 0, 0, 0, 0, 0, 0],
  [1, 2, 2, 1, 0, 0, 0, 0],
  [1, 3, 5, 6, 5, 3, 2, 2]])

/**/ PrintSectionalMatrix(P/I);
  0  1  2  3  4  5  6  7
  -  -  -  -  -  -  -  -
  1  1  0  0  0  0  0  0
  1  2  2  1  0  0  0  0
  1  3  5  6  5  3  2  2

/**/ PrintSectionalMatrix(I);
  0  1  2  3   4   5   6   7
  -  -  -  -   -   -   -   -
  0  0  1  1   1   1   1   1
  0  0  1  3   5   6   7   8
  0  0  1  4  10  18  26  34

See Also