Loïc Grenié on Fri, 14 Jul 2017 10:33:37 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Laurent polynomials instead of fractions

Le 2017-07-14 à 5:45 GMT+02:00 Emmanuel ROYER a écrit :
Dear pari-users,

How can I ask pari-gp to write the following _expression_

((xi^2 - 2*xi + 1)/xi) + ((-2*xi^4 + 8*xi^3 - 12*xi^2 + 8*xi -
2)/xi^2)*q + O(q^2)

with the q-coefficients as Laurent polynomials in xi instead of fractions?

    You can add O(xi^3). It (or may not) be what you want, depending on the
  priority of variables.

       Hope this helps,