Thanks for the tips. My problem seems to have been I had r already defined (to sympy.sqrt(x**2 + y**2 + z**2). I guess it cannot be pre-defined for subs to work correctly. Works now. Thanks!
BTW I really like sympy. I just stumbled across it last week by accident and had to try it out. And very cool that it has special functions. The predefined Legendre polynomials are saving me lots of time from having to key them in. -- 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 [email protected]. To post to this group, send email to [email protected]. 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/c7f302f1-6e84-43a8-bcdc-5ff21d13a678%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
