[sympy] Re: review request

2010-07-18 Thread smichr
> > Øyvind I just set up an account with name smichr. Initial impressions of the clean interface are good. Let me know what to do next. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To un

[sympy] Re: review request

2010-07-18 Thread smichr
On Jul 18, 12:19 am, "Aaron S. Meurer" wrote: > Testing what is the latest version (1d6bd1d), I get this failure: > >   File > "/users/aaronmeurer/documents/python/sympy/sympy/sympy/matrices/tests/test_matrices.py", > line 489, in test_eigen >     ( 0, 1, [Matrix([ 0,-1, 1])])]) > AssertionErr

[sympy] Re: review request

2010-07-18 Thread smichr
> I have just uploaded a ton of comments to GitHub (I decided to use GitHub > instead of Smart Bear because, frankly, I like GitHub's interfact better).   > You can see them all here:  http://github.com/smichr/sympy/comments.   > Unfortunately, there were only a few commits that both I had no prob

[sympy] Re: posible to get integral to provide intuitive result?

2010-07-18 Thread arseno...@virginia.edu
i get zero as well. although that i dont believe that is correct. see below. In [884]: x,a,m = symbols('x a m') In [885]: pprint(Integral(sin(pi*x)*sin(pi*x),(x,0,1)).doit()) 1/2 In [886]: pprint(Integral(sin(pi*x)*sin(m*pi*x),(x,0,1)).doit()) 2 π⋅sin(π

[sympy] dsolve question

2010-07-18 Thread David Joyner
Hi: Does anyone know if there is a workaround for this error I get (from running sympy in Sage)?It seems to be a known issue http://code.google.com/p/sympy/issues/detail?id=1211 - David sage: from sympy import Function, Derivative, dsolve, symbols sage: from sympy.abc import x sage: f = Functio

Re: [sympy] dsolve question

2010-07-18 Thread Aaron S . Meurer
When you do f = Function("f")(x) you are already making f(x). You need to either just declare f = Function("f") or use what you have with dsolve(Derivative(f, x, x) - k**2*f, f, hint='nth_linear_constant_coeff_homogeneous') Doing __call__ on f(x), i.e., f(x)(x), assumes that you are tryin

Re: [sympy] dsolve question

2010-07-18 Thread David Joyner
Thanks! On Sun, Jul 18, 2010 at 5:55 PM, Aaron S. Meurer wrote: > When you do > > f = Function("f")(x) > > you are already making f(x).  You need to either just declare > > f = Function("f") > > or use what you have with > > dsolve(Derivative(f, x, x) - k**2*f, f, > hint='nth_linear_constant_coe

Re: [sympy] Re: review request

2010-07-18 Thread Aaron S. Meurer
I bisected it down to bf301ae59e0943496b2e859341fc9c5677db1b64. Looking deeper, I get: In [20]: i = canonicalize(M.eigenvects()) In [21]: j = canonicalize(

[sympy] Re: review request

2010-07-18 Thread asmeurer
The canonicalize() function uses tuple(set()) to try to get a canonical ordering. But apparently in Python 2.7, this ordering isn't always the same on the same line in the same session. I think it should just compare sets directly. Aaron Meurer On Jul 18, 4:50 pm, "Aaron S. Meurer" wrote: > I