selectInSubring(i,m) -- Form the submatrix of the matrix 'm' consisting of those columns which lie in the subring generated by all but the first 'i' parts of the monomial order.
We say that a monomial ordering has n 'parts' if the variables are partitioned into n subsets in such a way that for each j, any monomial smaller than a monomial that involves variables only from the last j parts, also involves variables only from the last j parts. Such monomial orderings include product orderings, lexicographic orderings, and elimination orderings.
For example, consider the lexicographic ordering of four variables, where the parts are the singletons {a}, {b}, {c}, {d}.
i1 : R = ZZ/101[a..d,MonomialOrder=>Lex] |
i2 : m = matrix{{b^2-c^2, a^2 - b^2, c*d}} |
i3 : selectInSubring(1,m) |
i4 : selectInSubring(2,m) |
i5 : selectInSubring(3,m) |
Caveat:
See also:
Ways to use selectInSubring :