Re: [sympy] Integration of asymptotic function using Poly.integrate()

2023-02-26 Thread Suchit K
Thanks for clarifying. On Sun, 26 Feb 2023, 18:48 Oscar Benjamin, wrote: > On Sun, 26 Feb 2023 at 11:33, Suchit K > wrote: > > > > Why does Poly.integrate() function doesn't give correct answer for > asymptotic expressions like O(x**2)? > > Example: > > from sympy import * > > x = Symbol('x') >

Re: [sympy] Integration of asymptotic function using Poly.integrate()

2023-02-26 Thread Oscar Benjamin
On Sun, 26 Feb 2023 at 11:33, Suchit K wrote: > > Why does Poly.integrate() function doesn't give correct answer for asymptotic > expressions like O(x**2)? > Example: > from sympy import * > x = Symbol('x') > exp = Poly(O(x**4)) > print(exp.integrate()) #prints 1/2*O(x**4)**2 instead of O(x**5)

[sympy] Integration of asymptotic function using Poly.integrate()

2023-02-26 Thread Suchit K
Why does Poly.integrate() function doesn't give correct answer for asymptotic expressions like O(x**2)? Example: from sympy import * x = Symbol('x') exp = Poly(O(x**4)) print(exp.integrate()) #prints 1/2*O(x**4)**2 instead of O(x**5) -- You received this message because you are subscribed to the