homogenize(m,v) -- homogenize the ring element, vector,
matrix, or module m using the variable v in the ring of m.
homogenize(m,v,w) -- homogenize m using the variable v,
so that the result is homogeneous with respect to the given list w of
integers provided as weights for the variables.
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.
Caveat:
Ways to use homogenize :