[sympy] GSOC Idea : Sympy live android app

2014-02-14 Thread Varun Sharma
Hi, I would like to suggest a very interesting gsoc idea : A web based sympy-live android application. It will send the post requests to sympy web server and the response will be printed as result of the query. The layout of the app will be exactly like a python console (like we have on sympy web

Re: [sympy] Re: Sympy Project Idea: Implementation of Group Theory

2014-02-14 Thread Aditya Shah
Thanks for your reply Aaron. I shall look into Aleksandar's work and try to further it. Aditya Shah -- 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] Re: Policy on inclusion of code with wrong results.

2014-02-14 Thread Sergey Kirpichev
On Sunday, February 9, 2014 11:31:50 PM UTC+4, Harsh Gupta wrote: I think we need to have formal policy about including the code which can potentially give wrong results. The only sane policy is: we shouldn't include code, that produces wrong results. Or, at least, clearly separate this

[sympy] Re: ctx?

2014-02-14 Thread Vinzent Steinberg
Did you install sympy or mpmath directly? For the former it's 'import sympy.mpmath', for the latter it's 'import mpmath'. If this does not solve you problem, you need to be more specific. 'ctx' is a context object. It manages things like precision and the underlying implementation of the

[sympy] Re: Set of all possible matches

2014-02-14 Thread Vincent MAILLE
Thanks for your answers, finally I do something like : nb, exclus = 0, [] k, n, A,B = Wild('k',exclude = [0]), Wild('n',exclude = set([0,1])),Wild('A', exclude = exclus), Wild('B') T = (A+k*x**n+B).matches(AvantS) while T != None and nb 100 : # Traitement if

[sympy] Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
please help me out! i am passing mathjax generated from result set of sympy_gamma as json to template of django which include escape sequences and i want python( or django) to interpret it but json.dumps return a string so it is getting passed as it is. ( e.g. double backslash instead of single

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
i have also tried to work with changing its encoding or using eval(my_string)..but for mathjax it gives error. On Saturday, February 15, 2014 4:50:30 AM UTC+5:30, SAHIL SHEKHAWAT wrote: please help me out! i am passing mathjax generated from result set of sympy_gamma as json to template of

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread David Li
Hey Sahil, If I understand correctly, you want the MathJax output to appear correctly to the user on the page (e.g. so that it is copy-pastable into a LaTeX document)? Django has 'filters' to control if/how the content is escaped in the template. For instance, you might have '{{

[sympy] Re: GSOC Idea : Sympy live android app

2014-02-14 Thread David Li
A Python interpreter can definitely be run in a native Android app. See SL4Ahttps://github.com/damonkohler/sl4a, for instance; I believe the project even has code to include in an app that will set up a Python interpreter for use. There are some other (closed-source?) apps floating around that

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
I have already used escape filter but it only escapes ,,..etc but not backslash.. due to escape filter i was able to get the html string to be displayed into my json output...but now i want to remove all the escaping(extra) backslashes.. On Saturday, February 15, 2014 4:50:30 AM UTC+5:30,

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread David Li
What about .decode('string_escape')? http://stackoverflow.com/questions/1885181/how-do-i-un-escape-a-backslash-escaped-string-in-python David On Friday, February 14, 2014 4:53:48 PM UTC-7, SAHIL SHEKHAWAT wrote: I have already used escape filter but it only escapes ,,..etc but not

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
Either i have done a big mistake or this is not as easy as it seems.. On Saturday, February 15, 2014 4:50:30 AM UTC+5:30, SAHIL SHEKHAWAT wrote: please help me out! i am passing mathjax generated from result set of sympy_gamma as json to template of django which include escape sequences and

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
i have also tried this infact this was the first thing i tried but this only replaces character like '\\n' with '\n' but with character like '\\w' this doesn't work.. On Saturday, February 15, 2014 4:50:30 AM UTC+5:30, SAHIL SHEKHAWAT wrote: please help me out! i am passing mathjax generated

[sympy] Re: Ipython Notebook in Sympy_Gamma

2014-02-14 Thread SAHIL SHEKHAWAT
you can see the problem into my pull request..the json it generates does have all the backslashes..i think the second option can solve..what you suggest? that way django will itself render the variables. and JS will render the json..will it do? On Saturday, February 15, 2014 4:50:30 AM

Re: [sympy] Re: User-friendly for sympy

2014-02-14 Thread Aaron Meurer
GSoC projects have to have mentors (that's part of the program). But you're welcome to work on anything outside of the program and post to the list about it, and we will give our feedback on it. Aaron Meurer On Wed, Feb 12, 2014 at 3:37 AM, Shipra Banga bangashi...@gmail.com wrote: @Aaron If

Re: [sympy] Re: AttributeError: 'Or' object has no attribute 'as_independent'

2014-02-14 Thread Aaron Meurer
We should implement __add__ etc. on Boolean to give better error messages. Aaron Meurer On Thu, Feb 13, 2014 at 11:21 AM, Avichal Dayal avichal.da...@gmail.com wrote: By x^2 did you mean x to the power 2? SymPy follows python convention so ^ is the xor operator. ** is used for power. --

Re: [sympy] GSOC 2014: Solvers

2014-02-14 Thread Aaron Meurer
(This applies to all potential GSoC applicants) Don't worry if there is someone to mentor your GSoC project. Just apply, and if we like the application, we will find someone to mentor it. We try very hard to avoid not accepting a good student just because there are no mentors for the project.

Re: [sympy] Re: dsolve error TypeError: symbolic boolean expression has no truth value.

2014-02-14 Thread Aaron Meurer
The TypeError is a bug. Regarding dsolve, can you paste the output of print(1/beinvariantpart*Derivative(f(x), x) - f(x))? Aaron Meurer On Wed, Feb 12, 2014 at 9:49 PM, monde wilson wilsonmo...@gmail.com wrote: After fixed, still can not dsolve import csv as csv import os import numpy as

Re: [sympy] work regarding Group Theory module

2014-02-14 Thread Aaron Meurer
SymPy does have a module for groups. It's in the combinatorics module (because it only handles finite permutation groups). Aaron Meurer On Thu, Feb 13, 2014 at 11:09 AM, Aditya Shah adityasha...@gmail.com wrote: Hi, I posted about my idea to implement Group Theory module in Sympy. According

Re: [sympy] work regarding Group Theory module

2014-02-14 Thread Aditya Shah
Thanks Aaron, I'll start from there. Aditya Shah -- 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...@googlegroups.com. To post to this group, send email

[sympy] Applying for GSoC 2014

2014-02-14 Thread MACHAVARAPU HITHESH CHOWDARY
Hi, I am intrested in joining the sympy team for GSoC 2014. I have considerable knowledge in Maths,Physics and programming. I would like to help in any aspect possible. Thank you,