[sympy] Re: iteration over arguments

2009-05-25 Thread Gael Varoquaux
On Fri, May 22, 2009 at 09:04:17AM -0700, Ondrej Certik wrote: This is how it used to work originally, but when we implemented the numpy support, the numpy arrays got confused by it, so we implemented .args. I was playing with Sage pynac and there it seems to work with the numpy arrays, so

[sympy] Re: iteration over arguments

2009-05-22 Thread Ondrej Certik
On Fri, May 22, 2009 at 3:38 AM, smichr smi...@gmail.com wrote: Just out of curiosity, is there a reason that one has to use the .args option to get the arguments of a sympy-thing rather than just doing a direct iteration as in y=x+S(1) for arg in y:    print arg instead of the current