[sympy] Re: GSoC Ideas : Tensor/Linear Algebra

2012-02-28 Thread Akshay Srinivasan
On Feb 23, 6:50 am, krastanov.ste...@gmail.com krastanov.ste...@gmail.com wrote: On 22 February 2012 20:30, Matthew Rocklin mrock...@gmail.com wrote: Hi Krastaonv Thanks for the feedback. You bring up a number of important issues. I'd like to respond to the main one I completely agree

Symbols with lambdify

2010-06-03 Thread Akshay Srinivasan
options, visit this group at http://groups.google.com/group/sympy-patches?hl=en. From ea9562fbfea553e9e561d917f544f2156dda00f6 Mon Sep 17 00:00:00 2001 From: Akshay Srinivasan akshaysriniva...@gmail.com Date: Tue, 18 May 2010 18:51:27 +0530 Subject: [PATCH] Symbols with lambdify --- sympy

Re: Symbols with lambdify

2010-06-03 Thread Akshay Srinivasan
Okay, I used hasattr instead. I should really stop using quick expedients :) All the tests passed. On Jun 3, 11:54 pm, Ondrej Certik ond...@certik.cz wrote: On Thu, Jun 3, 2010 at 8:48 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: This patch fixes issue #1656 This looks good

Re: [sympy] Re: RAM, stack, and polynomial manipulation

2010-04-16 Thread Akshay Srinivasan
-- The program took about 70MB of RAM. On 04/16/10 21:09, Akshay Srinivasan wrote: I don't think I can really help with why Sympy takes so much RAM; but I just ported your code to GiNaC - C++ - just to see how it fares in comparison. Here are the results

Re: Added support for the integration of 1/sin(x)**(2k) and 1/cos(x)**(2k), fixes issue #1188

2009-05-14 Thread Akshay Srinivasan
Can this be passed in now? I didn't see any more comments on the issues page. On Mar 30, 11:08 am, Ondrej Certik ond...@certik.cz wrote: Thanks! On Sun, Mar 29, 2009 at 11:01 PM,AkshaySrinivasan akshaysriniva...@gmail.com wrote: This patch adds support for the integration of functions of

[sympy] Re: Trigsimp error

2009-04-28 Thread Akshay Srinivasan
I think trigsimp is too hack-ish. I'll try implementing the algorithm given at http://vv.cn/d/d.aspx?Id=21987_1.0.42119 - I guess this is the one Ondrej was talking about - in the coming weeks. I'm still not sure how good it is, does anyone know of anything better ? Akshay On Apr 28, 6:52 pm,

[sympy] Re: Trigsimp error

2009-04-28 Thread Akshay Srinivasan
Freddie Witherden wrote: Hi all, I think trigsimp is too hack-ish. I'll try implementing the algorithm given at http://vv.cn/d/d.aspx?Id=21987_1.0.42119 - I guess this is the one Ondrej was talking about - in the coming weeks. I'm still not sure how good it is, does anyone know of anything

[sympy] Re: cannot integrate integrate(exp(-x)*x**n,(,0,10))

2009-04-17 Thread Akshay Srinivasan
You could try doing this : x,k=symbols('xk') f= lambda n : Integral(x**k*exp(-x),(x,0,oo)).subs(k,n) f(2) Integral(x**2*exp(-x), (x, 0, oo)) f(2).doit() 2 This works only for integers, for real n, try making use of quad in scipy - and libmpf (?). On Apr 18, 5:53 am, Minjae Kim

[sympy] Re: problem with Symbol constructor

2009-04-16 Thread Akshay Srinivasan
How come there are two data descriptors: x.is_Real and x.is_real for the same thing ?? On Apr 17, 12:31 am, Ondrej Certik ond...@certik.cz wrote: On Thu, Apr 16, 2009 at 12:27 PM, Neal Becker ndbeck...@gmail.com wrote: On Thursday 16 April 2009, Ondrej Certik wrote: It's just a docstring

[sympy] Re: GSoC, Logic and sets..

2009-04-04 Thread Akshay Srinivasan
Turns out, aima-python isn't exactly ideal for use in sympy yet. So it'll need quite a lot of tweaking :) On Apr 3, 10:24 am, Ondrej Certik ond...@certik.cz wrote: Hi Akshay, On Thu, Apr 2, 2009 at 7:59 PM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I finished my application

[sympy] Re: GSoC, Logic and sets..

2009-04-02 Thread Akshay Srinivasan
, On Wed, Apr 1, 2009 at 8:19 AM, Ondrej Certik ond...@certik.cz wrote: On Wed, Apr 1, 2009 at 8:15 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I went through the source of aima-python, and it strikes me that there is so much already implemented, that it'd be quite redundant

[sympy] Re: GSoC, Logic and sets..

2009-04-01 Thread Akshay Srinivasan
On Apr 1, 11:49 am, Ondrej Certik ond...@certik.cz wrote: Hi Akshay! On Tue, Mar 31, 2009 at 6:01 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I started working on my application of late. Please have a look at: http://wiki.sympy.org/wiki/GSoC2009Application/AkshaySrinivasan

[sympy] Re: GSoC, Logic and sets..

2009-04-01 Thread Akshay Srinivasan
probably shouldn't even mention this explicitly, it is more or less implied. Akshay On Apr 1, 11:49 am, Ondrej Certik ond...@certik.cz wrote: Hi Akshay! On Tue, Mar 31, 2009 at 6:01 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I started working on my application of late. Please have

[sympy] Re: GSoC, Logic and sets..

2009-03-31 Thread Akshay Srinivasan
I started working on my application of late. Please have a look at: http://wiki.sympy.org/wiki/GSoC2009Application/AkshaySrinivasan Criticisms welcome :) On Mar 25, 8:20 pm, Akshay Srinivasan akshaysriniva...@gmail.com wrote: Yes, I plan to do much of the work around the new assumptions system

[sympy] Re: GSoC, Logic and sets..

2009-03-25 Thread Akshay Srinivasan
Yes, I plan to do much of the work around the new assumptions system; I'll probably keep a port of Fabian's assumptions system, until the logic module is accepted. :) On Mar 25, 8:42 am, Ondrej Certik ond...@certik.cz wrote: Hi Akshay! On Tue, Mar 24, 2009 at 8:16 PM, Akshay Srinivasan

[sympy] GSoC, Logic and sets..

2009-03-24 Thread Akshay Srinivasan
Hello, I'm planning to apply for Summer of Code this year, to work on the logic and sets. I have the following plan for the summer - Boolean Algebra /\ / \ | Set Algebra | |_ Cardinal Numbers | |_ Relations | |_ Venn Diagrams, probably use pyglet | |_ Graph Theory | |_

Re: Boolean Algebra module

2009-03-22 Thread Akshay Srinivasan
offset any slowdown because of using the layer. This will make the things in sympy.core much easier to debug. Am speaking gibberish? On Mar 22, 4:02 pm, Vinzent Steinberg vinzent.steinb...@googlemail.com wrote: On Mar 21, 4:04 pm, Akshay Srinivasan akshaysriniva...@gmail.com wrote: On Mar 21, 3

Re: Boolean Algebra module

2009-03-21 Thread Akshay Srinivasan
...@certik.cz: On Thu, Mar 19, 2009 at 10:41 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: Yes it worked! Thanks for the patch Ondrej, that did it. Well, but still it's fishy. Could you please execute that test by hand? E.g. undo the patch and do: bin/test sympy/core/tests

[sympy] Re: Teaching simplify to do atan (issue 636)

2009-03-20 Thread Akshay Srinivasan
Here is a nice paper on Trignometric Simplification - http://vv.cn/d/d.aspx?Id=21987_1.0.42119 On Feb 28, 3:31 pm, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I had this problem with the simplification of Boolean expressions. There's this algorithm by Quine-McCluskey where

Re: Boolean Algebra module

2009-03-19 Thread Akshay Srinivasan
version. As a sidenote, should this fail ? ((-x)**2)**Rational(1,3) == ((-x)**Rational(1,3))**2 Documentation for x says its assumed to be real. But neither , x.is_real x.is_Real False returns True. 2009/3/20 Ondrej Certik ond...@certik.cz: On Thu, Mar 19, 2009 at 10:41 AM, Akshay Srinivasan

Re: Boolean Algebra module

2009-03-16 Thread Akshay Srinivasan
! On Sat, Mar 14, 2009 at 11:22 PM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: I got git to work, and am happy to send in my patch. This one solves the above mentioned problems, and simplifies expressions recursively. Note: boolalg/test.py is not a test! Its an example of usage

[sympy] Re: Set Algebra module.

2009-02-20 Thread Akshay Srinivasan
to bring it back from obsoletion, than write something from scratch - I haven't really had a look at the old Sets module. On Feb 20, 12:52 pm, Friedrich Hagedorn friedric...@gmx.de wrote: On Thu, Feb 19, 2009 at 11:10:40PM -0800, Akshay Srinivasan wrote: I was thinking of making a Abstract

[sympy] Re: Set Algebra module.

2009-02-19 Thread Akshay Srinivasan
I was thinking of making a Abstract Algebra module, continuing from here. Mathematica already has this feature. It would be nice to have something similar in python. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[sympy] Re: Google Summer of Code 2009

2009-02-16 Thread Akshay Srinivasan
If you're using Fedora 10, I guess doing yum install python-sympy should do the trick. On Feb 16, 6:22 pm, sunny sharma sunnysharma...@gmail.com wrote: Hi, I wanna use sympy codes. But I am facing a problem installing sympy in my system. I use fedora as my linux distro . Please help.

[sympy] Re: Shouldn't this be printed in a different way ?

2009-01-18 Thread Akshay Srinivasan
Hi Ondrej, I think I've fixed it. As you said, it was something in the printing/ str.py. In doing that I came across this, (x/sin(x)).args() (x,sin(x)) (cos(x)/sin(x)).args() (1/sin(x),cos(x)) Shouldn't (cos(x)/sin(x)).args() give (cos(x),1/sin(x)) ?? Akshay (Neptune) On Jan 18, 12:06 am,

[sympy] Re: Shouldn't this be printed in a different way ?

2009-01-18 Thread Akshay Srinivasan
I've attached the patch to the issue's page - it's just a one-line change :) Akshay On Jan 18, 8:58 pm, Ondrej Certik ond...@certik.cz wrote: On Sun, Jan 18, 2009 at 3:04 AM, Akshay Srinivasan akshaysriniva...@gmail.com wrote: Hi Ondrej, I think I've fixed it. As you said