up previous next
content

content of a polynomial

Syntax
content(F: RINGELEM): RINGELEM

Description
This function returns the content of F (i.e. a gcd of its coefficients).

The returned value is a RingElem in RingOf(F).

Example
/**/ Use R ::= QQ[x,y,z];
/**/ F := *** 1234x^3z + 3456xyz^3 + 5678y^2z ***;
/**/ content(F);
2
/**/ RingOf(It);
QQ

See Also