truncate (i,M) -- yields the submodule of M consisting of all elements of degrees >= i. If i is a multi-degree, then this yields the submodule generated by all elements of degree exactly i, together with all generators which have a higher primary degree than that of i.
The degree i may be a multi-degree, represented as a list of integers. The ring of M should be a (quotient of a) polynomial ring, where the coefficient ring, k, is a field.
Caveat:
i1 : R = ZZ/101[a..c]; |
i2 : truncate(2,R^1) |
i3 : truncate(2, ideal(a,b,c^3)/ideal(a^2,b^2,c^4)) |
i4 : S = ZZ/101[x,y,z,Degrees=>{{1,3},{1,4},{1,-1}}]; |
i5 : truncate({7,24}, S^1 ++ S^{{-8,-20}}) |
Ways to use truncate :