Re: Issue 3354 in sympy: Minus sign in front of Piecewise is not centered

2013-08-09 Thread sympy
Updates: Status: Fixed Comment #4 on issue 3354 by julien.r...@gmail.com: Minus sign in front of Piecewise is not centered http://code.google.com/p/sympy/issues/detail?id=3354 (No comment was entered for this change.) -- You received this message because this project is configured

Re: Issue 3959 in sympy: Travis issues with dependencies

2013-08-09 Thread sympy
Comment #1 on issue 3959 by skirpic...@gmail.com: Travis issues with dependencies http://code.google.com/p/sympy/issues/detail?id=3959 - Installing numpy, matplotlib, and gmpy from source (especially matplotlib) is too slow. The tests timeout. But sometimes timeout usual

Issue 3966 in sympy: isympy starts very long when using IPython (1.0-final)

2013-08-09 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-High New issue 3966 by matt...@gmail.com: isympy starts very long when using IPython (1.0-final) http://code.google.com/p/sympy/issues/detail?id=3966 It takes about 5 seconds to start isympy when using IPython. When using CPython it

Issue 3967 in sympy: Clean up/complete continuous representations in sympy.physics.quantum by merging PR 573

2013-08-09 Thread sympy
Status: Valid Owner: Labels: Type-Enhancement Priority-Medium New issue 3967 by lazov...@gmail.com: Clean up/complete continuous representations in sympy.physics.quantum by merging PR 573 http://code.google.com/p/sympy/issues/detail?id=3967 PR 573

Re: Issue 3829 in sympy: Should Integral.subs (and Subs(Integral)) on an indefinite integral return an integral with two limits

2013-08-09 Thread sympy
Comment #1 on issue 3829 by asmeu...@gmail.com: Should Integral.subs (and Subs(Integral)) on an indefinite integral return an integral with two limits http://code.google.com/p/sympy/issues/detail?id=3829 I bit more discussion on this issue at https://github.com/sympy/sympy/pull/2198. --

Re: [sympy] Transformations on sets/intervals/unions

2013-08-09 Thread Matthew Rocklin
The API has changed in a recent PR https://github.com/sympy/sympy/pull/2341 imageset(x, 2*x, Interval(0, 1) [0, 2] On Thu, Aug 1, 2013 at 7:43 AM, Matthew Rocklin mrock...@gmail.com wrote: I'm renaming TransformationSet to ImageSet (I think this is a more precise name).

Re: [sympy] Theano + Sympy for system of ODEs: Mapping dictionary issue and a few questions

2013-08-09 Thread Matthew Rocklin
A draft for a SymPy CCode op is here https://github.com/Theano/Theano/pull/1486 On Thu, Aug 8, 2013 at 10:20 PM, Frédéric Bastien no...@nouiz.org wrote: For your codegen.py example, it is easy to reuse it manually in a Theano Op. A good example is to look at the GpuEye op (and just pretend

[sympy] Proposal: close inactive pull requests

2013-08-09 Thread Ondřej Čertík
Hi, I propose to create an issue for old pull requests and close them with some kind words and encourage the author to reopen it if he or she starts working on it again. Proposal for policy: our PR queue should be for active work. If PR is not ready to merge and nobody is working on it, we

[sympy] C Code printing could use some work

2013-08-09 Thread Matthew Rocklin
Our code printers support only a narrow set of SymPy. More advanced mathematical operations like `Gamma` go completely unsupported and even give wrong results. This is easy to fix. Find a SymPy operator, figure out how to print it in C, and make a commit. Here is an example with the Gamma

Re: [sympy] Proposal: close inactive pull requests

2013-08-09 Thread Matthew Rocklin
I've gone ahead and closed over half of my pull requests. I suspect that the more prolific contributors should be able to do a lot of this work on their own PRs very quickly. On Fri, Aug 9, 2013 at 10:40 AM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Hi, I propose to create an issue for

Re: [sympy] C Code printing could use some work

2013-08-09 Thread Ondřej Čertík
On Fri, Aug 9, 2013 at 9:47 AM, Matthew Rocklin mrock...@gmail.com wrote: Our code printers support only a narrow set of SymPy. More advanced mathematical operations like `Gamma` go completely unsupported and even give wrong results. This is easy to fix. Find a SymPy operator, figure out

Re: [sympy] C Code printing could use some work

2013-08-09 Thread Matthew Rocklin
On Fri, Aug 9, 2013 at 10:53 AM, Ondřej Čertík ondrej.cer...@gmail.comwrote: On Fri, Aug 9, 2013 at 9:47 AM, Matthew Rocklin mrock...@gmail.com wrote: Our code printers support only a narrow set of SymPy. More advanced mathematical operations like `Gamma` go completely unsupported and even

Re: [sympy] C Code printing could use some work

2013-08-09 Thread Matthew Rocklin
I've been testing with Theano and the SymPyCCodehttps://github.com/Theano/Theano/pull/1486op. I'd prefer not to have to think about compilation while testing if possible. I don't mean to suggest that this should be the standard testing procedure. Theano is way more of a testing PITA than

Re: [sympy] C Code printing could use some work

2013-08-09 Thread Ondřej Čertík
On Fri, Aug 9, 2013 at 10:10 AM, Matthew Rocklin mrock...@gmail.com wrote: I've been testing with Theano and the SymPyCCode op. I'd prefer not to have to think about compilation while testing if possible. I don't mean to suggest that this should be the standard testing procedure. Theano is

Re: [sympy] Theano + Sympy for system of ODEs: Mapping dictionary issue and a few questions

2013-08-09 Thread Matthew Rocklin
Hi Guy, Thanks again for raising these issues. This is the status as I see it Presently I am trying to use the mapping between Theano and SymPy (sympy.printing.theanocode theano_function) to make my callable functions and take advantage of the optimization routines. I have two major problems

[sympy] Possible bug in integral

2013-08-09 Thread Manoj Kumar
Hi, I came across this while working on the lie group methods, Is this a bug or am I missing something quite obvious? r, x = Symbols(r x) eq = Integral(1/sqrt(a0 + a1*x + a2*x**2 + a3*x**3 + a4*x**4), x) eq = eq.subs(x, r) print(eq.doit()) x/sqrt(a0 + a1*r + a2*r**2 + a3*r**3 + a4*r**4) This

Re: [sympy] Possible bug in integral

2013-08-09 Thread Ondřej Čertík
On Fri, Aug 9, 2013 at 12:03 PM, Manoj Kumar manojkumarsivaraj...@gmail.com wrote: Hi, I came across this while working on the lie group methods, Is this a bug or am I missing something quite obvious? r, x = Symbols(r x) eq = Integral(1/sqrt(a0 + a1*x + a2*x**2 + a3*x**3 + a4*x**4), x) eq =

[sympy] Re: Level 0 of dense matrix

2013-08-09 Thread Saurabh Jha
Hi, My work is almost done as far as dense matrix is concerned[1]. I have now divided all the stuff into three files densearith, densetools and densesolve. Here are some key points-- - mulmatmat is not selecting rows and cols and multiplying them as done in the last commit. It turns

[sympy] Re: Possible bug in integral

2013-08-09 Thread Manoj Kumar
Thanks Ondrej. Thats great, but I don't know what type eq is, it can be anything. Is there any way of doing this other than checking if eq is an instance of Integral or checking individual terms in eq.args if they are instances of Integral? -- You received this message because you are

Re: [sympy] Re: Possible bug in integral

2013-08-09 Thread Ondřej Čertík
On Fri, Aug 9, 2013 at 12:51 PM, Manoj Kumar manojkumarsivaraj...@gmail.com wrote: Thanks Ondrej. Thats great, but I don't know what type eq is, it can be anything. Is there any way of doing this other than checking if eq is an instance of Integral or checking individual terms in eq.args if

Re: [sympy] Theano + Sympy for system of ODEs: Mapping dictionary issue and a few questions

2013-08-09 Thread Guy Parsey
Hey Matt et al., Between the responses (and code updates) from Fred, Jason and yourself, all of my present questions have been answered. Now I just need to get more familiar with Theano. I was quick to assume that I would understand all of the printer code, but at least now it is all beginning

Re: [IPython-dev] [sympy] Treating Python 3 as a first-class citizen

2013-08-09 Thread Aaron Meurer
On Fri, Aug 9, 2013 at 2:25 PM, Fernando Perez fperez@gmail.com wrote: Hi Ondrej, On Mon, Aug 5, 2013 at 9:05 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Fernando, I would be very much interested what you think of this issue, as you have more touch with the Python core devs. I

Re: [sympy] Re: Possible bug in integral

2013-08-09 Thread Aaron Meurer
There was some discussion on this at https://code.google.com/p/sympy/issues/detail?id=2571, but ultimately I think we should do what I described at https://code.google.com/p/sympy/issues/detail?id=3829, namely subs should always try to return a mathemetically correct result, meaning that for an

Re: [sympy] Proposal: close inactive pull requests

2013-08-09 Thread Aaron Meurer
All of my pull requests (with the exception of 2210) require either a review, or I got stuck on something and am unsure how to proceed. Aaron Meurer On Fri, Aug 9, 2013 at 9:50 AM, Matthew Rocklin mrock...@gmail.com wrote: I've gone ahead and closed over half of my pull requests. I suspect

[sympy] Re: Possible bug in integral

2013-08-09 Thread Manoj Kumar
Thanks. I shall try having a detailed look at it, as soon as I try cleaning up https://github.com/sympy/sympy/pull/2359 -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and stop receiving emails from it, send an email to