next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
FastLinAlg :: chooseSubmatrixSmallestDegree

chooseSubmatrixSmallestDegree -- returns coordinates for low degree submatrix of a matrix

Synopsis

Description

Returns the row and column coordinates in the original matrix for a specified sized submatrix of terms lower in degree than other terms of the matrix.

i1 : R = QQ[x,y,z];
i2 : M=matrix{{x^2,x^3,x^4},{y^4,y^2,y^3},{z^3,z^4,z^2}}

o2 = | x2 x3 x4 |
     | y4 y2 y3 |
     | z3 z4 z2 |

             3       3
o2 : Matrix R  <--- R
i3 : chooseSubmatrixSmallestDegree(2, M)

o3 = {{2, 1}, {2, 1}}

o3 : List

It returns a list with two entries, first a list of rows, and then a list of columns. It returns a list with two entries, first a list of rows, and then a list of columns. In this case, z2 is the smallest element, and after removing that row and column from consideration, y2 is smallest. Thus we want rows 2 and 1 and columns 2 and 1.

Ways to use chooseSubmatrixSmallestDegree :