Previous Up Next

6.27.14  GCD of the coefficients of a polynomial: content

The content of a polynomial is the GCD (greatest common divisor) of its coefficients. The content command computes the content of a polynomial.


Example.
Input:

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

or:

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

Output:

3

Previous Up Next