Re: Issue 3997 in sympy: limit(x**-pi, x, 0, dir='-')

2014-01-10 Thread sympy
Updates: Labels: -NeedsReview Comment #12 on issue 3997 by skirpic...@gmail.com: limit(x**-pi, x, 0, dir='-') http://code.google.com/p/sympy/issues/detail?id=3997 No. I think it's ok. -- You received this message because this project is configured to send all issue notifications

Re: Issue 3512 in sympy: solve is slow for a simple set of equations.

2014-01-10 Thread sympy
Updates: Labels: NeedsReview smichr Comment #12 on issue 3512 by smi...@gmail.com: solve is slow for a simple set of equations. http://code.google.com/p/sympy/issues/detail?id=3512 I made a PR with this change at https://github.com/sympy/sympy/pull/2755 -- You received this message

Re: Issue 2015 in sympy: Hangs attempting to solve a system of linear equations

2014-01-10 Thread sympy
Updates: Labels: NeedsReview smichr Comment #24 on issue 2015 by smi...@gmail.com: Hangs attempting to solve a system of linear equations http://code.google.com/p/sympy/issues/detail?id=2015 I made a PR with this change at https://github.com/sympy/sympy/pull/2755 -- You received

[sympy] Android App For Sympy

2014-01-10 Thread Shipra Banga
I was going through the ideas page for Sympy projects and this idea interested me a lot. Reason being I have past experience with android and I would like to take up this task of implementing sympy on Android. As notified, I wanted to discuss this first before starting off to make sure if

[sympy] Re: Formal Power Series

2014-01-10 Thread Shipra Banga
I went through the ideas page and I found some of the features interesting and implementable. I wanted to work on this. Could you give me an idea on how to start? -- You received this message because you are subscribed to the Google Groups sympy group. To unsubscribe from this group and

[sympy] Re: Android App For Sympy

2014-01-10 Thread Ed Schembor
You should look into Kivy: http://kivy.org It's an opensource Python library for rapid development of apps. Since Python is not officially supported on Android, this will help a lot. You can pretty much use it to run Python code on Android and iOS platforms. On Friday, January 10, 2014

Re: [sympy] Re: Convert sympy to javascript

2014-01-10 Thread F. B.
On Sunday, November 17, 2013 8:04:49 PM UTC+1, David Li wrote: There's also the more speculative ideas of using Emscripten (example: http://repl.it/M4whttp://www.google.com/url?q=http%3A%2F%2Frepl.it%2FM4wsa=Dsntz=1usg=AFQjCNEx9nyndaK2q6euf6S3HplhrWmtSQ) or Portable Native Client to

[sympy] Re: Android App For Sympy

2014-01-10 Thread F. B.
I just replied on another thread about the possibility of running CPython inside a web browser (currently Firefox only, but soon also on Google Chrome). https://groups.google.com/forum/#!topic/sympy/7HXq4YbzvMo Running sympy inside a webbrowser could make it extremely portable, not only to

[sympy] Questions about usage of sympy tensor

2014-01-10 Thread Comer Duncan
Today I have been looking at the sympy tensor package. I have attached a script in which I am trying to end of defining the Einstein tensor: R_{a b} - 1/2 *g_{a b} * R. But the script does not succeed on the last step of evaluating the above expression and hence fails to agree to create the

[sympy] Re: Questions about usage of sympy tensor

2014-01-10 Thread Comer
There are a couple of typos in the post by me: I mean to say I am trying to end UP defining the Einstein tensor... and on the expression g should be with covariant indices: g(-a,-b). Sorry. On Friday, January 10, 2014 4:56:03 PM UTC-5, Comer wrote: Today I have been looking at the sympy

[sympy] Re: Questions about usage of sympy tensor

2014-01-10 Thread Comer
On Friday, January 10, 2014 4:56:03 PM UTC-5, Comer wrote: Today I have been looking at the sympy tensor package. I have attached a script in which I am trying to end of defining the Einstein tensor: R_{a b} - 1/2 *g_{a b} * R. But the script does not succeed on the last step of

[sympy] Re: Questions about usage of sympy tensor

2014-01-10 Thread F. B.
On Friday, January 10, 2014 10:56:03 PM UTC+1, Comer wrote: Today I have been looking at the sympy tensor package. I have attached a script in which I am trying to end of defining the Einstein tensor: R_{a b} - 1/2 *g_{a b} * R. But the script does not succeed on the last step of

[sympy] Re: Questions about usage of sympy tensor

2014-01-10 Thread F. B.
On Friday, January 10, 2014 11:26:38 PM UTC+1, F. B. wrote: This is a bug, d0 and -d0 have not been recognized as dummy indices and are not contracted. I think I'll have a look tomorrow. I correct myself, this is not a bug. When you perform *R = Ric(d0,-d0)* , you are substituting the

[sympy] Re: Limits with floating-point numbers

2014-01-10 Thread Avichal Dayal
There should be some canonical way to remove floating point numbers that are smaller than their given precision (i.e., almost equal to 0). evalf(chop=True) does this, but there should be some way to do it without calling evalf on the expression. But I'm not sure what it is if there is

[sympy] Re: SymPy Live and SymPy Gamma (on Google App Engine) IDEA

2014-01-10 Thread Aaron Meurer
For SymPy Gamma, anything you can think of that fits there is a good candidate. There is a lot of room for improvement. You can get some ideas from https://github.com/sympy/sympy_gamma/issues. For SymPy Live, the main things that need fixing are the pickling issues, i.e., finishing up

Re: [sympy] Re: Convert sympy to javascript

2014-01-10 Thread Aaron Meurer
On Fri, Jan 10, 2014 at 2:57 PM, F. B. franz.bona...@gmail.com wrote: On Sunday, November 17, 2013 8:04:49 PM UTC+1, David Li wrote: There's also the more speculative ideas of using Emscripten (example: http://repl.it/M4w) or Portable Native Client to compile the Python interpreter to

Re: [sympy] Re: Convert sympy to javascript

2014-01-10 Thread David Li
I think the asm.js optimizations do make a difference when used; see a benchmark of a physics engine ported with Emscripten: http://josephg.com/blog/chipmunkjs-and-emscripten (though it's a bit outdated). Regardless, if Emscripten is too slow in Chrome we can fall back on Native Client (and

[sympy] Re: SymPy error running Python3

2014-01-10 Thread Janwillem van Dijk
Ondřej, I did send you my complete 900 lines scripts to show the problem and did not think of making a very simple demo; here it is: import sympy import numpy n = 2 formula = 'x_0 + x_1' x = sympy.symbols('x_0:%d' % n, real=True, bounded=True) y = sympy.sympify(formula) fx = f_x =