[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.3.19 prim, cont

prim(poly[,v])
:: Primitive part of poly.
cont(poly[,v])
:: Content of poly.

return poly
polynomial over the rationals
v
indeterminate

 
[0] E=(y-z)*(x+y)*(x-z)*(2*x-y);
(2*y-2*z)*x^3+(y^2-3*z*y+2*z^2)*x^2+(-y^3+z^2*y)*x+z*y^3-z^2*y^2
[1] prim(E);
2*x^3+(y-2*z)*x^2+(-y^2-z*y)*x+z*y^2
[2] cont(E);
y-z
[3] prim(E,z);
(y-z)*x-z*y+z^2

References
6.3.1 var, 6.3.7 ord.



This document was generated by root on March, 5 2004 using texi2html