Re: Problem with numpy and sympy

2008-01-01 Thread Pearu Peterson
On Jan 1, 12:26 am, Alan Bromborsky [EMAIL PROTECTED] wrote: Do we have a problem here? Can we make a numpy array of sympy symbols? import swiginac import numpy a = swiginac.symbol('AB') a AB A = numpy.array([a]) A array([AB], dtype=object) import sympy a =

Re: Conventions

2008-01-01 Thread Kirill Smelkov
Alan, thanks for your interest to SymPy! On Mon, Dec 31, 2007 at 03:16:14PM -0500, Alan Bromborsky wrote: If I want to submit a python module for sympy what conventions (programming, documenting, etc.) should I adhere to? It is good to first discuss your ideas / code in the issues:

Re: Problem with numpy and sympy

2008-01-01 Thread Ondrej Certik
On Jan 1, 2008 9:11 AM, Pearu Peterson [EMAIL PROTECTED] wrote: On Jan 1, 12:26 am, Alan Bromborsky [EMAIL PROTECTED] wrote: Do we have a problem here? Can we make a numpy array of sympy symbols? import swiginac import numpy a = swiginac.symbol('AB') a AB A =

Re: Possible bug in SymPy

2008-01-01 Thread Ondrej Certik
On Jan 1, 2008 10:20 AM, Kirill Smelkov [EMAIL PROTECTED] wrote: On Sat, Dec 29, 2007 at 08:03:45AM -0800, David wrote: The following code produces an AssertionError: two = Rational(2) if two: doSomething() This version, however, works fine: two = Rational(2) if two

Re: issues priority

2008-01-01 Thread Kirill Smelkov
On Tue, Jan 01, 2008 at 02:50:13PM +0100, Ondrej Certik wrote: Hi, google now for some time allows to sort the issues as we want, so if you go to: http://code.google.com/p/sympy/issues/list the first issues are the ones with a milestone set, the rest is sorted according to a

Re: issues priority

2008-01-01 Thread Kirill Smelkov
On Tue, Jan 01, 2008 at 05:04:06PM +0300, Kirill Smelkov wrote: On Tue, Jan 01, 2008 at 02:50:13PM +0100, Ondrej Certik wrote: Hi, google now for some time allows to sort the issues as we want, so if you go to: http://code.google.com/p/sympy/issues/list the first issues

Re: issues priority

2008-01-01 Thread Ondrej Certik
Also, maybe let's write xfailing tests for reported issues *before* fixing them? Why not. But I think if someone goes to write the test, he can as well fix it. :) Ondrej --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Geometric Algebra in Python

2008-01-01 Thread David Joyner
On Jan 1, 2008 1:08 PM, Alan Bromborsky [EMAIL PROTECTED] wrote: David Joyner wrote: Just some ideas: For me, geometric algebra refers to material in the famous book by E Artin. Your usage of the term is apparently common with mathematical physicists. I would recommend changing the name

Re: Geometric Algebra in Python

2008-01-01 Thread Ondrej Certik
On Jan 1, 2008 7:16 PM, Pearu Peterson [EMAIL PROTECTED] wrote: On Jan 1, 6:08 pm, Alan Bromborsky [EMAIL PROTECTED] wrote: I don't know anything about Maple or Mathematica (they cost money so I don't use them).. Sometimes it is worth of looking at how other CA systems (most of them

Re: Geometric Algebra in Python

2008-01-01 Thread Alan Bromborsky
Ondrej Certik wrote: On Jan 1, 2008 7:16 PM, Pearu Peterson [EMAIL PROTECTED] wrote: On Jan 1, 6:08 pm, Alan Bromborsky [EMAIL PROTECTED] wrote: I don't know anything about Maple or Mathematica (they cost money so I don't use them).. Sometimes it is worth of looking at how

Re: Geometric Algebra in Python

2008-01-01 Thread Bill Page
On 1/1/08, Alan Bromborsky wrote: ... I looked at a paper on the Maple Clifford package. The problem I would have with it is that it is Clifford algebra for mathematicians, not for physicists. That is peculiar since it was designed by two physicists. http://www.math.tntech.edu/rafal