Previous Up Next

5.29.13  GCD of the coefficients of a polynomial: content

content takes as argument a polynomial P given by a symbolic expression or by the list of its coefficients.
content returns the content of P, that is the GCD (greatest common divisor) of the coefficients of P.
Input:

content(6*x^2-3*x+9)

or:

content([6,-3,9],x))

Output:

3

Previous Up Next