You might want to look at http://krum.rz.uni-mannheim.de/jas/ (Java
Algebra System (JAS) Project)
On 06/06/2014 08:16 PM, Peter wrote:
Hi Björn,
In the meantime,
ItriedtoinstallSympyGammaandtheGoogleappengine,asitisdescribedinthemanual.
UnfortunatelyIdon'tknownowhowIcancheckifeverythingworks
fine,becausesomestepswere discribed foralocalhostandnotonaremote server.
Untiltoday, I'veneverdoneadjangoquery,couldyoupleasegiveanexample,that
I'm able to orient me at that example.
Manythanksforyourhelp!
Peter
Am Freitag, 6. Juni 2014 23:56:01 UTC+2 schrieb Björn Dahlgren:
On Friday, 6 June 2014 23:18:19 UTC+2, Peter wrote:
Hallo everybody,
I'm sorry for this question, but I'm not realy familar with
Python. Normally I'm working with PHP and JavaScript, but for
my recent project I have to integrate some symbolic math to a
webpage.
In an Internet search, I came across Sympy. And sympy looks
quite good.
My problem looks like this:
The user should enter a formula in a field.
The value of the imput field has to be the formula that should
be evaluated.
The value of the field should be posted to sympy. (Am I right,
that this will work with django oder a simple jquery call? Can
anybody give me an example, how to do so?)
Sympy has to evaluate the posted formula.
The return value should be posted back to JavaScript.
Can anyone please tell me how I can implement this.
Thanks a lot!
Peter
You should look into sympy gamma.
If you just want a small hack in your django codebase I would look at:
http://docs.sympy.org/dev/modules/parsing.html
<http://docs.sympy.org/dev/modules/parsing.html>
and then maybe return the results as latex and use mathjax to
render it nicely on the client side.
--
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
<mailto:sympy+unsubscr...@googlegroups.com>.
To post to this group, send email to sympy@googlegroups.com
<mailto:sympy@googlegroups.com>.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/38b6a055-ea01-4d44-88a5-aaad1c586711%40googlegroups.com
<https://groups.google.com/d/msgid/sympy/38b6a055-ea01-4d44-88a5-aaad1c586711%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/53925D1A.4090803%40verizon.net.
For more options, visit https://groups.google.com/d/optout.