7 ms·
Mathics - A free, light-weight alternative to Mathematica
- chetanahuja 14y agoYears ago, I wrote a very rudimentary tutorial on Mathematica to get undergrad chemistry students started on it. http://www.cem.msu.edu/~cem883/mathematica-instr.html http://www.cem.msu.edu/~cem883/mathematica-instr.html The good thing is that mathics make very nice plots (at least for simple functions I tested). The bad news is that it stumbled on a simple NIntegrate.(*) It certainly has potential though... [ Edit: Hmm looks like Integrate[] does what NIntegrate in my example was supposed to do. I take the "bad news" back.]
- tokipin 14y agohttp://mathematica.stackexchange.com http://mathematica.stackexchange.com is a good place to look if you need mathematica-related help
- anuy 14y agoAs several posters said, nothing will beat matlab with its long list of tool boxes. It would be nice if there is more open source work in building more tool boxes for Octave(octave is open source compatible to matlab).
- scottfr 14y agoLooks, very nice. I tried some basic Mathematica functions (D[], Plot[], ...) and at least that subset all worked as expected. I couldn't find a full table of compatibility with Mathematica though, anyone know where one is?
- chr1 14y agoReally nice, but it supports only the very basics e.g Plot[x^2, {x, -1, 1}, AxesLabel -> {x, y}, PlotStyle -> Dashed, Filling -> Bottom] ignores all options And D can't compute JacobiP derivative even with Simplify[ D[JacobiP[n, a, b, x], x] == 1/2 (1 + a + b + n) JacobiP[-1 + n, 1 + a, 1 + b, x]] It's startling how much work goes into something like Mathematica, too bad it's not open source, and have to be redone:(
- Evbn 14y agoClosed source paid the salaries of the people who put that startling amount of work in.
- frozenport 14y agoHeres a little incompatibility. The following code is valid Mathematica code, but the on-line parser rejects it Integrate[Exp[-(x/2)^2],{x,-Infinity,+Infinity}]
- niggler 14y agoThis works in both places (just remove the `+`): Integrate[Exp[-(x/2)^2],{x,-Infinity,Infinity}] Both give 2 Sqrt[Pi]
- frozenport 14y agoThats the point :-) In Mathematica the `+` is supported
- sn6uv 14y agoThis is a known issue in Mathics that has been fixed in the upcoming version 0.6 (soon to be released). Mathics vice dictator here btw.
- niggler 14y agoBessel functions aren't supported (and even Excel supports them!) Try BesselJ[1,2]//N On mathematica I get $ /Applications/Mathematica.app/Contents/MacOS/MathKernel Mathematica 8.0 for Mac OS X x86 (64-bit) Copyright 1988-2010 Wolfram Research, Inc. In[1]:= BesselJ[1,2]//N Out[1]= 0.576725 In excel, `BESSELJ(2,1)` is the same to 5 significant figures.
- melling 14y ago"Developers Wanted" is on the first page. Being on open source project, you'll probably see a lot of organic growth and people scratching their own itches.
- lispython 14y agoThis topic already mentioned on HN before http://news.ycombinator.com/item?id=4066826 http://news.ycombinator.com/item?id=4066826 And an interesting point is that, the core developer of Mathics is also a Kernel Developer at Wolfram Research. Jan Pöschko's website http://www.poeschko.com/ http://www.poeschko.com/ How could he build a free product compete with his company's product?
- ColinWright 14y agoThis topic already mentioned on HN before http://news.ycombinator.com/item?id=4066826 Indeed, about 8 months ago. Judging by some of the criticisms there, progress has been made, so it's probably worth this extra outing.
- niggler 14y agoIf by "progress" you mean that they addressed the specific concerns, sure. veyron http://news.ycombinator.com/item?id=4067025 http://news.ycombinator.com/item?id=4067025 pointed out that Sum[x^2,{x,1,y}]-y*(y+1)*(2*y+1)/6 was broken, but now it's fixed. programnature http://news.ycombinator.com/item?id=4067225 http://news.ycombinator.com/item?id=4067225 Plot[Sin[x], {x, -5, 200}] appears that issue was resolved as well. However, most of the comments seem to be directed at mathematica's language (none of which were resolved, seeing as how the goal was to replicate mathematica)
- to3m 14y agoJan Pöschko's website (it's at http://www.poeschko.com/ http://www.poeschko.com/) explains how he squares working on Mathics and Mathematica.
- justincormack 14y agoIt says he no longer works on Mathics since being hired by Wolfram. Alas often a way to try to weakene open source competition...
- 14y ago
- deleted 14y ago[deleted]
- deleted 14y ago[deleted]
- jimktrains2 14y agoHow is it different from SAGE[1] and Maxima[2]? [1] http://www.sagemath.org/ http://www.sagemath.org/ [2] http://maxima.sourceforge.net/ http://maxima.sourceforge.net/
- cowsaysoink 14y agoIt uses mathematica's syntax.
- muuh-gnu 14y agoThis is a rather superficial reason to start such a project. Mathematica is non popular because of its syntax, it is popular because of its extensive library, graphics capabilities and documentation. If you want to make free software packages more competitive compared to mathematica, the best way would be to work on extending their libraries, documentation and graphical capabilities, not increase the fragmentation by starting yet another package from scratch doing the same thing just using a slightly different syntax. For all intents and purposes, from an user's point of view, this project is as a waste of time as writing yet another scheme interpreter.
- myhf 14y agoMathematica is powerful because of its syntax. http://www.paulgraham.com/power.html http://www.paulgraham.com/power.html
- Aardwolf 14y agoWhy use the Mathematica syntax, and not a better one? It's rather annoying syntax, Matlab and Maple are much better for this. Mathematicians don't use square brackets for functions, most programming languages don't either, but Mathematica, a mathematics language ffs, does. And sin and cos with capitals, meh.
- renanbirck 14y agoPersonally, I like that Mathematica uses capitals for functions: it means that the entire namespace of lower-case variables is free - unlike in Sage, MATLAB etc... In fact, this is how you're supposed to name your variables in Mathematica.
- alok-g 14y agoFor one, Mathematica tries hard to keep its syntax consistent, even if it has to break backward compatibility sometimes. Naming convention in Matlab is often inconsistent (even though Matlab also at times changes things to break backward compatibility). Also Matlab's documentation is often not complete, frequently requiring Google searches. I have rarely needed that with Mathematica. My core reasons to use Matlab at times are: 1. More toolboxes, including those from third-parties 2. More team members familiar with Matlab than Mathematica
- omaranto 14y agoIt uses Sympy and SAGE under the hood, you'd probably prefer their syntaxes.
- niggler 14y ago"Mathematicians don't use square brackets for functions" Not true at all: 1) Operators acting on a distribution: E[X], Var[X], Cov[X,Y] 2) Square brackets are used in nested parentheses to avoid confusion: [1(2 + 3) + 4]/5 3) Functionals: L[f] for lagrangian The main reason why [] isn't used as frequently as () is because most domains interpret the square brackets to mean something special. For example: 1) [x] is often used to denote floor(x) 2) [i=j] is used to denote the kronecker delta
- 14y ago
- nswanberg 14y agoAs others have pointed out, Mathics is missing features relative to Mathematica, so it is an alternative provided you can work within Mathics' subset of features. So if you are doing anything but tinkering it is still best to buy Mathematica. But Mathics is great for exploring the concepts in the Mathematica programming language, a language that does not get the attention it deserves. If you are not familiar with Mathematica as a language and and are curious, see this comparison of Mathematica with other programming languages such as C, APL, and Lisp, from the first edition of the Mathematica book: http://reference.wolfram.com/legacy/v1/contents/4.2.html http://reference.wolfram.com/legacy/v1/contents/4.2.html (this fourth section was dropped from the second edition and beyond).
- alok-g 14y agoAs an avid user of Mathematica, I have been also partly annoyed by the language. I find that getting something (complex) to work takes much longer than ideally needed due to complex syntax. It would take still longer with other tools for mathematical problems, so I cannot really be complaining. I "may" have discovered a language that seems better Mathematica: Modelica [1]. It turns out that Wolfram itself recently purchased a Modelica add-on to Mathematica, which it now markets as its new SystemModeler product [2]. Note that while the Modelica language is not intended towards general-purpose computations, I find the core concepts behind the language to be valid beyond its intended purposes. [1] http://en.wikipedia.org/wiki/Modelica http://en.wikipedia.org/wiki/Modelica [2] http://en.wikipedia.org/wiki/Wolfram_SystemModeler http://en.wikipedia.org/wiki/Wolfram_SystemModeler
- phponrails 14y agoLast time I checked Wolfram wasnt even hiring. . . . . . . Why bother learning Mathematica or writing your own free version i mean seriously? There are perfectly good Javascript libraries for doing whatever "math" stuff you feel like burying your nose in and another thing. . . . It's actually impossible to write a computer program that will prove anything significant. Turing figured that out like 80 years ago, get a clue morans
- rootedbox 14y ago
- benbro 14y agoWhat's missing for IE9/10 support?
- willscott 14y agoI am an avid Mathematica user. Not because I need to evaluate that much math, but because I really like its wysiwyg notebook structure for note-taking. It's great for keeping up with lectures and including decent looking equations and tables when they come up (which is fairly often in technical classes). The export to latex is a nice added bonus. As far as I know, there aren't great alternatives to the Mathematica front end - I'd love to be proven wrong, through.
- tokipin 14y agopart of what makes Mathematica notebooks particularly powerful is that they are Mathematica expressions themselves (Mathematica expressions are M-expressions), thus they can be thoroughly manipulated in all sorts of ways. then there's Dynamic[1], which is the most straightforward event mechanism you're going to find in any language [1] http://reference.wolfram.com/mathematica/ref/Dynamic.html http://reference.wolfram.com/mathematica/ref/Dynamic.html
- gammarator 14y agoThe ipython notebook is rapidly moving in that direction. See http://nbviewer.ipython.org/ http://nbviewer.ipython.org/ for some examples. It can even embed R, ruby, bash, and Perl code.
- carlob 14y agoPersonally I'm looking forward to start playing with this: http://reference.wolfram.com/mathematica/RLink/guide/RLink.html http://reference.wolfram.com/mathematica/RLink/guide/RLink.h...
- lshifr 14y agoIf you do, make sure to read this discussion: http://mathematica.stackexchange.com/questions/16657/special-mathematica-cell-to-work-with-r-code http://mathematica.stackexchange.com/questions/16657/special...
- jnazario 14y ago
- yread 14y agoThere's also free alternative to Matlab, the GNU Octave http://www.gnu.org/software/octave/ http://www.gnu.org/software/octave/
- muuh-gnu 14y agoMaxima [1] is both a predecessor and alternative to both Mathematica and Maple. It is an descendant of DOE Macsyma, which ran only on expensive Lisp machines, and porting it to PCs was slow enough to give Mathematica and Maple a headstart. It is kind of a shame that all the math and physics departments all over the world keep using closed source black box solvers instead of working on improving free and inspectable alternatives like Maxima, Octave, Sage, etc. [1] http://maxima.sourceforge.net/ http://maxima.sourceforge.net/
- msutherl 14y ago> It is kind of a shame that all the math and physics departments all over the world keep using closed source black box solvers They use them because they're more comprehensive, and scientists want to spend their time doing science, not improving free software. Also, in the case of Mathematica, the interface and feature set are far beyond what any other tool offers (and can be expected to offer, given the track-record of free software).
- muuh-gnu 14y ago> scientists want to spend their time doing science, not improving free software. Wasnt the whole point of science to build their own chain of verifiable tools to rely on, instead of having to trust secret, unverified commercial black boxes?
- fdej 14y agoCynically, the point of doing science is to secure funding. Your ability to receive funding is based on your publication record. Improving software takes time away from writing papers, and is therefore counterproductive. Improving free software is even more counterproductive, as you are giving your tools away to your competitors.
- baboye11 14y agojust for testing
- baboye11 14y agojust for testing
- Mitt 14y agoGuys, also don’t forget: what we currently see is a snapshot in time. Right now Mathics offers the features X and Y and lacks Z. But this may change over the next years.
- hackerkira 14y agoI'm using SAGE right now for calculus. The point is to have the computer do the tedious work. But until I learn python, I end up spending my time fidgeting around with the syntax instead of actually learning calculus. I'm all for programing integrated with academia...but we need better software (like Mathics!)