On Monday, June 16, 2014 4:47:07 PM UTC-4, Klaus Santor wrote: > > The current method for two variable expansion is to make two one > dimensional expansions after removing (via removeO()) the order term for > the first expansion. This isn't entirely satisfactory since there is then > no proper error term for the two variable expansion. However, the technique > does work for getting a series expansion of an explicit function of two > variables (without error term). My issue is that it fails completely for an > expansion of a general f(x,y). One dimensional expansions work fine for > f(x) so that's not the concern. Here is an example that fails: > f(x,y).series(x,0,3).removeO().series(y,0,3).removeO(). > Is there any way around this failure? >
It fails because series() does not know how to deal with the evaluated partial derivatives. I don't see a way around teaching series() how to do it. Vinzent -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/1547d121-3e30-4972-a677-4dc0796efeba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.