On Sat, Mar 31, 2012 at 9:35 PM, leif <not.rea...@online.de> wrote: > On 31 Mrz., 22:13, Volker Braun <vbraun.n...@gmail.com> wrote: >> On Saturday, March 31, 2012 7:11:23 PM UTC+1, kcrisman wrote: >> >> > therefore lack the “structural beauty” of the Mathematica® language. >> >> Well-placed irony quotation marks! > > :-) > > "The core of Mathics is and shall remain independent of Sage, as it > adds a huge footprint to the installation and Mathics should remain > rather lightweight. In addition, it should be easier to install > Mathics on Windows and mobile platforms where Sage is not available. > That's why the light-weight SymPy Python package is prefered for > advanced calculations, like integration, that will not be implemented > in Mathics itself." > > Subject to change [Windows and mobile platforms]... (?)
This is pretty nice. I used it for some basic mathematica-like stuff, and it seemed to work fine. I did try an integral though: Integrate[Sin[x]*Cos[x+1],x] and I seem to be able to count to 10 before getting the answer, even if I retry it several times in the session. That seems surprisingly slow, given: sage: time integrate(sin(x)*cos(x+1), x) -1/2*x*sin(1) - 1/4*cos(2*x + 1) Time: CPU 0.01 s, Wall: 0.01 s sage: time integrate(sin(x)*cos(x+1), x, algorithm='sympy') -1/2*x*sin(x + 1)*cos(x) + 1/2*x*sin(x)*cos(x + 1) + 1/2*sin(x + 1)*sin(x) Time: CPU 0.53 s, Wall: 0.53 s I do realize sympy is way slower than maxima at this, but still it's much faster than the website. I wonder what happens behind the scenes to make that slow... The very first time I tried it in sympy it was much slower due to imports (on my very slow disk): sage: time integrate(sin(x)*cos(x+1), x, algorithm='sympy') # first time only... -1/2*x*sin(x + 1)*cos(x) + 1/2*x*sin(x)*cos(x + 1) + 1/2*sin(x + 1)*sin(x) Time: CPU 1.29 s, Wall: 15.64 s > > > Not sure about the "huge footprint" of a (standard) Sage > installation. Removing f2c, MoinMoin, bitmap fonts, Fortran binaries; > adding GCC... ;-) > > > -leif > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org