Previous Up Next

6.27.15  Primitive part of a polynomial: primpart

The primitive part of a polynomial is the polynomial divided by its content (the greatest common divisor of its coefficients). The primpart command computes the primitive part of a polynomial.


Example.
Input:

primpart(6x^2-3x+9)

or:

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

Output:

x2x+3

Previous Up Next