Previous Up Next

2.24.10  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 it’s 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