next up previous contents index
suivant: Factorization : collect monter: Polynomials précédent: GCD of the coefficients   Table des matières   Index


Primitive part of a polynomial : primpart

primpart takes as argument a polynomial P given by a symbolic expression or by the list of it's coefficients.
primpart returns the primitive part of P, that is P divided by the GCD (greatest common divisor) of it's coefficients.
Input :
primpart(6x^2-3x+9)
or:
primpart([6,-3,9],x))
Output :
2*x^2-x+3



giac documentation written by Renée De Graeve and Bernard Parisse