5 ms·
SageMath: Python-based Mathematics. Rock it.
- deleted 16y ago[deleted]
- deleted 16y ago[deleted]
- john_horton 16y agoI really want this to work and I've played around with it a few times, but I've always gone back to Mathematica. I don't know if that's because I haven't invested the time needed with Sage or if its not really a replacement. I'd be very interested to hear from someone who completely made the switch.
- msarnoff 16y agoMaxima (http://maxima.sourceforge.net/ http://maxima.sourceforge.net/), one of the packages used by Sage, is a quite capable computer algebra system (written in Lisp) with a very long history. It's descended from Macsyma, which was created at MIT in the 1960s. If you look through some of the Maxima source files you'll find modification dates from the '70s. That has to make it one of the oldest still-active software projects. Heck, it's older than Unix!
- muuh-gnu 16y agoThe relationship of Sage with existing open source projects was something I never quite understood. Instead of investing their knowledge and time into improving the capabilities of existing systems (SciPy, NumPy or Maxima, Octave) to bring them up to par with the more pervasive commercial offerings (Matlab, Mathematica, Maple), they basically just bolted Python onto everything without in the end improving anything. Sage to me always seemed as just some kind of Python promotion vehicle trying to hide the fact that basically all the underlying systems it uses are written in other languages.
- jamii 16y agoThe idea is to allow access to lots of different proven, well-tested systems using a single consistent syntax and environment.
- katovatzschyn 16y agoI've checked back on this project from time to time but I've never been satisfied with it. The last I used it was perhaps 2 years ago, returning to MATLAB, Mathematica and Haskell/C. Would any who uses it now or recently care to make a candid comparison between it and its commercial competitors?
- jey 16y agoNumpy, scipy, and matplotlib are the MATLAB replacements.
- ramanujan 16y agoSage is probably quite useful if you are a pure mathematician. The reason I couldn't use it is that it didn't behave well as a library, but they seem to have improved library support since then (http://www.sagemath.org/doc/tutorial/programming.html#section-standalone http://www.sagemath.org/doc/tutorial/programming.html#sectio...). But the project has definitely produced at least one A++ bit of code: Cython. That is very much worth learning and complementary to numpy (e.g. Cython/numpy integration: http://wiki.cython.org/tutorials/numpy http://wiki.cython.org/tutorials/numpy).
- cgrubb 16y agoThe math software I use is Mathematica (Home Ed), Sage, Octave, R, and TeXShop. All open source except for Mathematica. Mathematica has a few advantages. The input notation can look more like traditional mathematics: adjacency instead of * for multiplication, superscript instead of ^ for exponentiation, fraction notation. I think that cuts down on errors. Variables are symbolic in Mathematica by default. The Mathematica language is something of a defacto standard and WolframAlpha understands it to a certain extent, so you have access for free if you have internet. WolframAlpha mobile gives you CAS on your phone. That said, an open source version of Mathematica is desirable and Sage should be supported. I keep a table of equivalences at http://hyperpolyglot.org/math http://hyperpolyglot.org/math to try to lessen the mental burden of using two equivalent products.
- tomrod 16y agoR is sweet. Octave has its ups and downs--I'm thinking Numpy/SciPy/Matlibplot may be a better route for my own personal computing (still learning though)--especially since Python has bindings practically for everything. I agree that Sage still needs work (the 100+ bugs submitted daily to the RSS support feed says so!) but it works really well.
- bane 16y agoThis might sound a bit silly, but I still have never found something that let me work with problems quite as easily as my TI-89/92. Most of the CAS systems I've used feel like coding, while the TI CAS system feels like doing math. Sage just feels like an extension to the Math direction when all I really want is a fast (color) desktop version of my TI-92. The closest I've seen was the old graphing calc that came with PowerPC macs back in the early 90's.
- proee 16y agoI'm not saying this is close to a TI-92, but here's a calculator we did a while back that's easy to use and powerful. http://www.ecalc.com http://www.ecalc.com
- tomrod 16y agoThis meets your fancy? http://lpg.ticalc.org/prj_tiemu/ http://lpg.ticalc.org/prj_tiemu/
- Pickhardt 16y agoHere's one I made that I think you'll like: encalc.com It does computer algebra, like integrate(x^2), as well as physical constants, like coulombs or hbar. I made a draggable graphing calculator for it, but it was too slow so I never released it.
- kcrisman 16y agoBy the way, Macs since OS X 10.4 come with a very nice (numerical) Grapher program, which is in Utilities.
- igravious 16y agoI am writing my master thesis on free & open source mathematical tools. To my shame I have never heard of SageMath, it never came up on my radar. I had heard of Numpy, scipy, matplotlib, maxima, Octave and others. I know that custom software is written in Fortran and C/C++- Why had I not heard of SageMath? Are there any other large open source mathematical projects that may have escaped my notice? Please enlighten me. The aim of my thesis is to discover why proprietary tools like Maple, Mathlab, and Mathematica have flourished within the mathematics world given that theorem proving and calculating seem to require access to the algorithms for verification processes. I aim to interview the leaders behind both proprietary and open tools to see what drives and motivates them. This video by William Stein http://www.sagemath.org/help-video.html http://www.sagemath.org/help-video.html on the SageMath website goes a long way towards answering some of my questions. I would like to look at this problem space from all angles, economic, ethical, scientific, you name it. I would welcome ideas on research strategies and any and all pointers. Speak up now, no matter how trivial you think your idea! Thank you tomrod for posting this, thank you.
- hermanthegerman 16y agoI used sage quite often when studying. I think many people today learn the one or the other programming language quite early, so it becomes natural to them, and an open source mathematical system like sage which extends their understanding of programming with mathematical/symbolic ideas is more powerful and way easier to adapt than those proprietory systems.
- igravious 16y agoThat's an interesting way of looking at it. I always thought that the "perfect" mathematical tool should strive for parity with math standard math notation but the way you describe it makes perfect sense from the viewpoint of leveraging existing tools.
- tomrod 16y agoHere are some places I would immediately look--you most likely have come across some or all of these. I suspect some of the smaller proprietary products teams may be more accessible in interviewing. http://en.wikipedia.org/wiki/Comparison_of_computer_algebra_systems http://en.wikipedia.org/wiki/Comparison_of_computer_algebra_... http://en.wikipedia.org/wiki/List_of_numerical_analysis_software http://en.wikipedia.org/wiki/List_of_numerical_analysis_soft...
- moondowner 16y agoOne thing Sage needs to do is to make installation easier. Make a PPA for Ubuntu, a repo for RPM packages, and setups for Windows and OS X. Then people will start talking more about Sage. It's a great package, but the road to getting it is bumpy. For those who don't know what Sage is, think of it as an Open Source alternative to Wolfram Mathematica. I also see comments about R. For me, the best way to code in R is to use RKWard. It's maybe the best frontend for R. Feel free to check it out..
- tomrod 16y agoSage install for Ubuntu is very straightforward--they even provide the command to unpack. If you've programmed in Python, or even better Fortran or C, the installation is mostly trivial. Nontrivial is compiling from source, however :-). Sage does more than Mathematica, as I understand it. It can be used as a replacement for Matlab, R, etc. I got informed of it by friend who is an applied mathematician by day and a .Net guru by night. Wikipedia has a decent writeup at: http://en.wikipedia.org/wiki/Sagemath http://en.wikipedia.org/wiki/Sagemath
- kcrisman 16y agoCompiling from source should be just downloading source, unpacking, and typing `make`, at least on most popular Linux distros and OS X.