Hi Ondrej,

I think one of challenge (please correct me) for using sympy is how I can 
quickly 
know which API I should call for the given context? for example, 
if I need to do subtraction for two symbolic expression,
 which function I should call without spending too much time to go through 
the source codes?  
I think this is also issue even if we call sympy api directly in python 
apps, any advices?

Thanks.

Raymond

On Thursday, May 7, 2015 at 1:25:11 PM UTC-7, Ondřej Čertík wrote:
>
> On Thu, May 7, 2015 at 2:17 PM, Joachim Durchholz <[email protected] 
> <javascript:>> wrote: 
> > Am 07.05.2015 um 20:10 schrieb Raymond Gong: 
> >> 
> >> Hey, this is the first time for me to be here, tried to search any 
> >> examples 
> >> or comments or whatever information on usage of sympy in java project. 
> > 
> > 
> > The standard Python interpreter is a standalone program, interacting 
> with 
> > that from Java is always tricky because you have to convert all data 
> > structures to and from string. 
>
> Actually, you just call SymPy using Python C/API, i.e. from C. Then 
> you call this C wrapper from Java, so no string conversions. 
>
> Ondrej 
>
> > 
> > Running SymPy inside Jython might be an easier path. 
> > Jython is a Java reimplementation of Python. 
> > It is quite possible that SymPy cannot run under Jython - last time we 
> tried 
> > using it, it would fail because Jython didn't implement all the Python 
> > features that SymPy uses. However, Jython might have implemented enough 
> of 
> > Python to run SymPy today, so it may be worth a shot. Be sure to run the 
> > test suite to see how much breaks, and whether any of the breakage is 
> going 
> > to affect your project. 
> > I think it's worth a shot; if it works, you should have SymPy running 
> inside 
> > a JVM that can be fed with Java data structures directly. 
> > 
> >> Wonderying, anybody ever worked on the similar project? 
> > 
> > 
> > I think we did some Jython testing a while ago. 
> > Maybe a search for "Jython" in the GitHub search on the sympy project 
> will 
> > turn up what happened. 
> > 
> > -- 
> > 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 [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > 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/554BC873.4050203%40durchholz.org. 
>
> > 
> > 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 [email protected].
To post to this group, send email to [email protected].
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/1c6c7bd9-aa3a-4c05-8647-423be7d032d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to