189 points · by clockwork_189 · 14y ago · 57 comments
I don't know, but this is what I've always assumed.
Sum[x^2,{x,1,y}]-y*(y+1)*(2*y+1)/6
mathematica correctly handles this: $ math
Mathematica 8.0 for Mac OS X x86 (64-bit)
Copyright 1988-2010 Wolfram Research, Inc.
In[1]:= Sum[x^2,{x,1,y}]-y*(y+1)*(2*y+1)/6
Out[1]= 0
but mathics bombs out with error Sum::iterb: Iterator does not have appropriate bounds.
Sum::iterb: Iterator does not have appropriate bounds.For comparison, similar software companies include MathWorks, the publishers of Matlab, with 2,400 employees and SAS Institute with 12,000 employees.
Because mathematica is actually really a pretty great math program.
The vast majority of students in my program are non-programmers. The only 'programming language' they know is mathematica which I think is a real shame.
Worse than that is that most of them have developed a dependence on Mathematica; without it they are severely limited in what they can do. We are provided with free copies (student version), but once we graduate will have to pay the full price if we want to continue using it.
I guess I just don't like having my abilities to solve problems tied to an expensive, closed source program. I do admit, it is very powerful.
Mathematica is a real functional programming language. It's a lisp with CamelCase builtins and consistent naming. And that's without any of its math goodness. It has superb documentation and a huge standard library. If you master it, you can master any lisp with a simple translator. matlab is a toy by comparison.
As author(s) of Mathics will surely discover very soon, the devil is in details. There are lots of corner cases and improvement opportunities that takes many man-years to implement. It may seem easy to get 50% of functionality quickly; getting the other half is much trickier.
One of Mathematica's authors offers an unexpected non-solution to that:
http://www.reddit.com/r/programming/comments/7gue5/the_incre...
"You know it's only $139 for students for the full Mathematica, and if you're not a student you can always pirate it."
Wolfram is aware of that issue, they haven't found a solution.
http://www.reddit.com/r/IAmA/comments/tmutz/stephen_wolfram_...
"But we're still trying to figure out the best ways to make Mathematica as a language be as fully open as possible"
When given the tradeoff between keeping their company running and risk losing language integrity, they rather keep the company running. That's fine for me, but that means that in the meantime I'd use something else. Mathics might change that.
I'm not sure what they are using in undergraduate courses, but I think the toolchain by Wolfram has really advanced the way scientists work. It's far from perfect, but it is an amazing tool.
Its not only gratis, its libre.
Try
Plot[Sin[x], {x, -5, 200}]
The plot is all over the place. In Mathematica it is a smooth sine wave.
You can put the same input into Wolfram Alpha and see how it looks there.
Sounds,like the sort of thing an opposition lawyer would bring up in IP proceedings in a "so you copied the implementation and interface" sort of way ...
Edit:
Here they are:
http://rpy.sourceforge.net/rpy2.html http://rpy.sourceforge.net/rpy.html
There is a need for a Mathematica-like syntax parser.
(Edited)