On Fri, Dec 5, 2008 at 3:37 AM, ggrothendieck <[EMAIL PROTECTED]> wrote:
>
> The latest version of sympy says it works with jython but I could find
> no instructions
> on how to set it up.  Are there any?

You need to use the latest svn version of jython. Then it just works, e.g.:

$ jython
Jython 2.5a3+ (unknown:exported, Nov 12 2008, 11:38:34)
[OpenJDK Server VM (Sun Microsystems Inc.)] on java1.6.0_0
Type "help", "copyright", "credits" or "license" for more information.
>>> from sympy import *
>>> x = Symbol("x")
>>> limit(sin(x)/x, x, 0)
1
>>> integrate(x**2 * sin(x), x)
2*cos(x) - x**2*cos(x) + 2*x*sin(x)

As written in the changelog, the "ast" module doesn't work, so
sympify() won't work, however, see this email from Frank from
yesterday:

http://markmail.org/message/l776fvssjcbtoec4

so that will be fixed soon too.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to