[PATCH] abs(sin(1)) simplifies to sin(1)

2009-03-13 Thread Fabian Seoane
Before of this patch, this calculation returned an AssertionError (see issue #1051). Adopted approach is to not use the assumptions framework for this calculation. This is faster, but also, since we are slowly moving the assumption system out of the core, this will have to be how things are done

Re: [PATCH] abs(sin(1)) simplifies to sin(1)

2009-03-13 Thread Fredrik Johansson
On Fri, Mar 13, 2009 at 9:53 AM, Fabian Seoane wrote: > > Before of this patch, this calculation returned an AssertionError > (see issue #1051). The new version is worse, IMO. Instead of just asking whether the argument is negative, it now needs to worry about details about the evalf implementat

Re: [PATCH] abs(sin(1)) simplifies to sin(1)

2009-03-13 Thread Ondrej Certik
Yep, now it's +1, thanks! On Fri, Mar 13, 2009 at 1:53 AM, Fabian Seoane wrote: > > Before of this patch, this calculation returned an AssertionError > (see issue #1051). > > Adopted approach is to not use the assumptions framework for this > calculation. This is faster, but also, since we are s

Re: Boolean Algebra module

2009-03-13 Thread Akshay Srinivasan
Did anyone try the module ? I'm quite curious to hear from the group, because this is my first real contribution to sympy. On Mar 12, 8:40 pm, Akshay Srinivasan wrote: > I've been hacking around with sympy for the past few weeks and I've > managed to put together a Boolean algebra module. The m

Re: Boolean Algebra module

2009-03-13 Thread Ondrej Certik
Not yet, but I will try it later today and let you know. Thanks for your contribution! Ondrej On Fri, Mar 13, 2009 at 7:43 AM, Akshay Srinivasan wrote: > > Did anyone try the module ? I'm quite curious to hear from the group, > because this is my first real contribution to sympy. > > > On Mar 1