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')
>
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)
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