commands → homogenize

homogenize(F,Y)

The homogenize command makes all terms of a polynomial F have the same total degree by multiplying each term by a suitable power of a independent variable Y. If F is a vector or matrix homogenize is applied to each entry of F.

Examples

f = x^2+x+1;
homogenize(f,y);
	y^2+y*x+x^2