Hi, I am trying to integrate SymPy in SAGE more nicely now, while I am here at SAGE days 6, where I can discuss problems directly with developers of SAGE. SAGE has some very nice features, that I think we should take advantage of. Download the binary package of sage from
http://www.sagemath.org/ extract, and type ./sage and then notebook() this will start a browser with a notebook interface. SymPy is included in SAGE, so type in for example: from sympy import Symbol, exp, sin, pprint, __version__ print __version__ x = Symbol("x") e = sin(x)*exp(-x) pprint(e) and it will work. They are going to package the notebook separately from SAGE, so that it can be easily included in Debian and other distributions. So I think we should just try to make SymPy a nice library, playing nice with others, nothing more, and together with for example the SAGE notebook, you'll get a nice environment for free. Now type this: from sympy import Symbol, exp, sin, pprint, __version__ print __version__ x = Symbol("x") e = x**2+x**4 pprint(e) a=plot(e._sage_(), 0, 10) show(a) and you will get a nice plot. I think it's awesome. The _sage_ method is not yet implemented for all sympy classes. I need to figure out how to make actually this work: a=plot(e, 0, 10) show(a) So any ideas about sympy and sage are welcomed. 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 -~----------~----~----~----~------~----~------~--~---
