Thanks Ondrej. On Thursday, May 7, 2015 at 1:47:41 PM UTC-7, Ondřej Čertík wrote: > > On Thu, May 7, 2015 at 2:40 PM, Raymond Gong <[email protected] > <javascript:>> wrote: > > 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? > > You just put what you see in the tutorial into a some.py file and > execute it using "python some.py", that's it. E.g.: > > # a.py > from sympy import symbols > x, y = symbols("x y") > e = x+y > f = x-y > print e-f > > And execute it: > > $ python a.py > 2*y > > You can see the last line, where I subtracted the two expressions. So > you just need to call "e-f" in Jython, from Java somehow. > > Ondrej >
-- 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/a88cfd86-1008-4d64-9e15-dc32655cb90d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
