[sympy] Re: atan series expansion

2009-09-10 Thread Markus Pröller
Thank you for your help Aaron! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...

[sympy] Re: Poly division

2009-09-10 Thread Ryan Krauss
This is a neat example of some manual simplication tricks. I appreciate it. On Thu, Sep 10, 2009 at 10:14 PM, Ryan Krauss wrote: > Thanks. That is helpful. > > > On Thu, Sep 10, 2009 at 9:55 PM, smichr wrote: > >> >> On Sep 10, 7:10 am, Ryan Krauss wrote: >> > Sorry, attached is a better ver

[sympy] Re: bug in core/mul/_eval_subs

2009-09-10 Thread Ryan Krauss
I am still having problems with the new patch. See my notes on the issue 1630. I will work on extra tests for now. Ryan On Wed, Sep 9, 2009 at 7:20 PM, smichr wrote: > > Yes, I refactored some of the code there. Try the patch that I > attached at Issue 1630. > > /c > > > --~--~-~--~-

[sympy] Re: Poly division

2009-09-10 Thread Ryan Krauss
Thanks. That is helpful. On Thu, Sep 10, 2009 at 9:55 PM, smichr wrote: > > On Sep 10, 7:10 am, Ryan Krauss wrote: > > Sorry, attached is a better version of the script that doesn't import > > spurious modules. > > > > > Attached is a realistic example that avoids using our module for now. >

[sympy] Re: Poly division

2009-09-10 Thread smichr
On Sep 10, 7:10 am, Ryan Krauss wrote: > Sorry, attached is a better version of the script that doesn't import > spurious modules. > > > Attached is a realistic example that avoids using our module for now. In > > the end, we have an 8th order polynomial in s divided by a 10th order (num4 > > an

[sympy] Re: Poly division

2009-09-10 Thread Ryan Krauss
Thanks for your reply. 1-2 weeks would be great. The speed sounds excellent. Please keep us posted or let me know if you need me to test stuff like this. On Thu, Sep 10, 2009 at 2:22 PM, Mateusz Paprocki wrote: > Hi Ryan, > > On Wed, Sep 09, 2009 at 09:05:45PM -0500, Ryan Krauss wrote: > > OK

[sympy] Poly division

2009-09-10 Thread Mateusz Paprocki
Hi Ryan, On Wed, Sep 09, 2009 at 09:05:45PM -0500, Ryan Krauss wrote: > OK, maybe this is now a new thread, but I am keeping this one alive for > now. One of my grad students (Bill Purcell) and I are trying use this in a > module for symbolic transfer function analysis (we do research in feedback

[sympy] Re: atan series expansion

2009-09-10 Thread Aaron S. Meurer
That is the big O symbol. See the docstring for order and http://en.wikipedia.org/wiki/Big_O_notation . It represents the remaining terms of the series. With that being said, the reason you don't get a number is that the x in O(x**10) gets substituted too (bug?), so it becomes 1 − 1/3 + 1/5

[sympy] atan series expansion

2009-09-10 Thread mproeller
Hello everyone, I have the following code: In [1]: from sympy import * In [2]: x=Symbol('x') In [3]: atan(x).series(x,1,10) Out[3]: x - x**3/3 + x**5/5 - x**7/7 + x**9/9 + O(x**10) In [4]: atan(x).series(x,1,10).subs(x,1) Out[4]: O(1) what I don't understand is the Out[4] I would have expected