[sympy] Writing log bases using the latex printer?

2013-06-28 Thread Ben Lucato
As the question states - is there any way to write log bases in latex, rather than just writing "log"? -- 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 sympy+unsubscr..

Re: [sympy] zoo*zoo == nan

2013-06-28 Thread Tom Bachmann
I know this is not very helpful, but I am fairly certain we discussed this kind of subject, about two years ago, but never really reached a conclusion. The point is that of cours zoo+zoo should be nan (whereas it seems like zoo*zoo need not be, but perhaps that was never fixed). Tom On 25.02.

[sympy] Unbundle mpmath

2013-06-28 Thread Sergey Kirpichev
There is a long term issue [1] to make mpmath an external dependency. It was suggested by Aaron (see discussion in PR [2]), that we should discuss this on the mailing list. Perhaps, the main reason to prefer bundled mpmath copy is a mystical "complex installation". Not clear enough. For examp

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Stefan Krastanov
I am also of the opinion that we should unbundle it. Python has an extremely easy dependency tracking system and libraries can be easily installed without root privileges (with virtualenv and pip). Moreover, for the "lazy" scientists there are many pre-bundled python distributions ready to use. Eve

Re: [sympy] Re: Continued fraction representation of quadratic irrationalities

2013-06-28 Thread Thilina Rathnayake
Yes, that is where it should go. I don't think it will be that hard to combine. There is a Java code that is used in Dario Alpern's website. I need the continued_fraction representation of quadratic irrational numbers in the Diophantine equation module. I

[sympy] SciPy Sprint

2013-06-28 Thread Aaron Meurer
We are sprinting all day today and tomorrow for SymPy. Our goal is to get SymPy 0.7.3 out. Let us know if you want to help remotely. Our tasks - Automating the release process - Writing release notes - Closing pull requests Our strategy for closing pull requests is to just fix the issues and crea

[sympy] Re: SciPy Sprint

2013-06-28 Thread Saurabh Jha
Okay, I want to contribute to release notes. But I am not sure if we can fix the issue of automation of release process in such a short time. Please tell me how can I help. I'll clone the doc repo now. -Saurabh On Friday, June 28, 2013 8:46:48 PM UTC+5:30, Aaron Meurer wrote: > > We are sprinti

Re: [sympy] Re: SciPy Sprint

2013-06-28 Thread Aaron Meurer
Write the release notes at https://docs.google.com/document/d/1teb0wYaIw2Ko0n8fbXxNs8oYUyyuaRg-d_5nHFO5w2I/edit?usp=sharing. Aaron Meurer On Fri, Jun 28, 2013 at 10:37 AM, Saurabh Jha wrote: > Okay, I want to contribute to release notes. But I am not sure if we can fix > the issue of automation

Re: [sympy] Re: Continued fraction representation of quadratic irrationalities

2013-06-28 Thread Thilina Rathnayake
One approach would be to have three inputs to continued_fraction() function corresponding to the general form of a quadratic irrational fraction (a + sqrt(b)) / c We can set b = 0 for other cases. But I think it is not a good approach. Another approach would be to keep the current interface of co

[sympy] Release Notes Request

2013-06-28 Thread Matthew Rocklin
We're working on the release at SciPy2013. Please help by responding to this e-mail with a brief description of any contributions you (or others) have made since 0.7.2 (last October). Feel free to list contributions made by others. Alternatively you can add contributions directly to https://docs

Re: [sympy] Re: Continued fraction representation of quadratic irrationalities

2013-06-28 Thread Thilina Rathnayake
Code segment I proposed should be changed as below. Otherwise it fails when sqrt()'s are not involved. def continued_fraction(a, b): p = Wild('p') q = Wild('q') r = Wild('r') a = Add(a) match = a.match(p + r*sqrt(q)) # and do the processing acc

Re: [sympy] Release Notes Request

2013-06-28 Thread Aaron Meurer
And importantly, note all backwards incompatible changes. You can grep for SymPyDeprecationWarning to find things that are deprecated for the first time in this release. Aaron Meurer On Fri, Jun 28, 2013 at 11:56 AM, Matthew Rocklin wrote: > We're working on the release at SciPy2013. > > Please

Re: [sympy] Using a numpy time series to evalf a SymPy equation

2013-06-28 Thread Shawn Garbett
I ended up making a shim between the two. from numpy import * from sympy import * x = array([(1.1, 2.2), (3.3, 4.4), (5.5, 6.6)], dtype=[('s0', ' numpy evalf. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop

[sympy] Simplifying simultaneous nonlinear equations

2013-06-28 Thread Thomas Moore
I'm contemplating using sympy in a program which will need to symbolically solve a set of simultaneous and possibly non-linear equations. However, it's obviously not possible to find symbolic solutions in many cases, but if sym.solve can't find an explicit solution what I'd really like is for s

Re: [sympy] Simplifying simultaneous nonlinear equations

2013-06-28 Thread Ondřej Čertík
Hi Thomas, On Thu, Jun 27, 2013 at 8:32 PM, Thomas Moore wrote: > I'm contemplating using sympy in a program which will need to symbolically > solve a set of simultaneous and possibly non-linear equations. However, it's > obviously not possible to find symbolic solutions in many cases, but if > s

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Ondřej Čertík
Hi, We already agreed in the issue to allow to use systemwide version of mpmath, preferably by adding a simple switch to setup.py, while using our version of mpmath if the switch is not given. Patches would be appreciated. :) I vote yes to this. As far as physically removing sympy.mpmath, is the

Re: [sympy] Simplifying simultaneous nonlinear equations

2013-06-28 Thread Aaron Meurer
You could solve for just two of the variables, like sym.solve((eq1, eq2, eq3), (z, x)). Aaron Meurer On Fri, Jun 28, 2013 at 3:56 PM, Ondřej Čertík wrote: > Hi Thomas, > > On Thu, Jun 27, 2013 at 8:32 PM, Thomas Moore wrote: >> I'm contemplating using sympy in a program which will need to symbo

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Sergey B Kirpichev
On Fri, Jun 28, 2013 at 04:20:29PM -0500, Ondřej Čertík wrote: > As far as physically removing sympy.mpmath, is the issue its size? > The sympy/ dir on my computer has 15M, sympy/mpmath has 1.9M. So the > size of mpmath can hardly be a reason. Not the size, of course. The reasons to drop this bun

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Stefan Krastanov
@Sergey, I think Ondrej's point is that installing dependencies is not as easy as I have suggested. I guess this is open for debate. There is probably also a psychological barrier. `mpmath` is the only hard requirement for running sympy, and having it bundled permits the project to say that it has

Re: [sympy] Release Notes Request

2013-06-28 Thread someone
New things: - Various new error and inverse error functions (cowork) -- Use in heurisch for more symmetric and nicer results - Gruntz for expintegrals and all new erf* - Li, li logarithmic integrals - Integration of li/Li by heurisch - elliptic integrals, complete and incomplete - Integration of

Re: [sympy] Simplifying simultaneous nonlinear equations

2013-06-28 Thread Thomas Moore
Yes thank you, I realised this last night also :) It's pretty much exactly what I was looking for, so thanks! On Saturday, 29 June 2013 07:36:46 UTC+10, Aaron Meurer wrote: > > You could solve for just two of the variables, like sym.solve((eq1, > eq2, eq3), (z, x)). > > Aaron Meurer > > On Fri

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Ondřej Čertík
On Fri, Jun 28, 2013 at 4:44 PM, Sergey B Kirpichev wrote: > On Fri, Jun 28, 2013 at 04:20:29PM -0500, Ondřej Čertík wrote: >> As far as physically removing sympy.mpmath, is the issue its size? >> The sympy/ dir on my computer has 15M, sympy/mpmath has 1.9M. So the >> size of mpmath can hardly be

Re: [sympy] Release Notes Request

2013-06-28 Thread Aaron Meurer
Can you add it to the Google Docs page https://docs.google.com/document/d/1teb0wYaIw2Ko0n8fbXxNs8oYUyyuaRg-d_5nHFO5w2I/edit?usp=sharing. We will backport this to the wiki after the sprints (when it there is less chance to have merge conflicts from multiple people editing the wiki). Aaron Meurer O

Re: [sympy] Re: SciPy Sprint

2013-06-28 Thread Aaron Meurer
I have created three milestones on GitHub for the pull requests - Close for 0.7.3 - Not for 0.7.3 - Undecided for 0.7.3 The milestones represent, respectively, those pull requests that we have to close before the release, those which are not important for the release, and those for which I was no

[sympy] Feynman diagrams

2013-06-28 Thread Matthew Rocklin
Has there been any work on implementing Feynman diagrams in sympy? Any thoughts on this topic? -- 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 sympy+unsubscr...@google

Re: [sympy] Unbundle mpmath

2013-06-28 Thread Sergey B Kirpichev
On Sat, Jun 29, 2013 at 01:05:45AM +0200, Stefan Krastanov wrote: > @Sergey, I think Ondrej's point is that installing dependencies is not > as easy as I have suggested. I guess this is open for debate. Yes, I see. The question is how "not as easy" it is. Let's stick with mpmath's installation g