i1 : R = ZZ/101[x,y,z,Degrees => {1,2,3}] |
i2 : f = 1 + y + z^2 |
i3 : homogenize(f,x) |
i4 : homogenize(f,x,{1,0,-1}) |
The weights that may be used are limited (roughly) to the range -2^30 .. 2^30.
Caveats and bugs: If the homogenization overflows the monomial, this is not reported as an error