|
|
Log in / Subscribe / Register

Open source math software competes in the classroom (Opensource.com)

William Stein introduces SageMath, a mathematical software system for researchers, teachers, computer programmers, and engineers. "I wanted SageMath to be a powerful tool for my students. It wasn't initially intended to be something hundred of thousands of people used! But as I began building the project, and as more professors and students started contributing to it, I realized these were problems many others were striving to solve as well. SageMath was desperately needed, and that wide interest became the driving force behind getting it up and off the ground. Over 500 contributors have participated and help make SageMath a real solution [available] to students and teachers around the world."

to post comments

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 8:13 UTC (Tue) by gowen (guest, #23914) [Link] (5 responses)

I'm a working mathematician who's never seen or used SageMath, and I am spectacularly underwhelmed by that video. Is Sagemath symbolic like Mathematica or Maple? Or mostly numeric like Matlab or R? Do I write in python, or just something that's a lot like Python? Can I script it, or write complete GUI programs for analysis, or is it all notebook/CLI based?

Genuinely, the only take-away I have from the video is that people my age should not video themselves skateboarding.

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 9:03 UTC (Tue) by andy0 (guest, #107558) [Link] (1 responses)

I'm a working mathematician who used to use maple all the time and now uses sagemath (both local install on laptop and sagemathcloud)

Yes, symbolic, for my use anyway. Of course it can do numeric too. Yes, something quite like python, huge improvement over mathematica and maple. And again for my use, script, terminal, commandline, worksheet, based.

Haven't watched the video, who watches the videos in the articles?

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 10:27 UTC (Tue) by gowen (guest, #23914) [Link]

Thanks Andy0

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 10:30 UTC (Tue) by rsidd (subscriber, #2582) [Link]

My office neighbour is a working mathematician, of the pencil and paper kind (group representation theory and stuff like that), who became a sage enthusiast a few years ago and even organised a bunch of lectures (video links: 1, 2, 3, 4). (The speaker is a visitor, not my colleague.)

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 15:01 UTC (Tue) by williamstein (guest, #107564) [Link]

> Is Sagemath symbolic like Mathematica or Maple?

It has similar symbolic capabilities.

> Or mostly numeric like Matlab or R?

It has similar numerical capabilities to Matlab and R. In fact, R is part of Sage, and you can use any R code in Sage; and SageMathCloud also includes numpy/scipy/pandas/octave, etc., so you get much of the functionality of Matlab as well.

> Do I write in python, or just something that's a lot like Python?

In Python. However, we do optionally have some minimal "preparsing" for a few edge cases where Python is annoying to mathematicians. For example, you can type 1/2 and get the rational number 1/2 instead of the Python2 int 0.

> Can I script it, or write complete GUI programs for analysis, or is it all notebook/CLI based?

Script it. Write GUI programs, etc. There is also a notebook and CLI.

Sage is basically much of open source math software all in one package with over 500K lines of code written by working mathematicians over the last decade to tie it all together and add missing functionality. See http://doc.sagemath.org/

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 15:04 UTC (Tue) by ha_sch (guest, #107565) [Link]

> Is Sagemath symbolic like Mathematica or Maple? Or mostly numeric like Matlab or R?

It's neither, and from the language itself it's 99% and hence very close to R (imperative, object oriented, scripted, functions, similar type dispatching, etc.). R is included into SageMath as a component and exposed in Python via this excellent rpy2 library.

> Do I write in python, or just something that's a lot like Python?

You can write in Python or SageMath, which is 99% like Python. E.g. numbers are wrapped into "Integer" objects and the "^" has the meaning of the "power" operator, whereas in Python it's XOR. Beyond that there are two or three other preparsing magics going on, completely optional (turn it off via preparser(False)).

> Can I script it, or write complete GUI programs for analysis, or is it all notebook/CLI based?

You can do as good as everything you would expect from a Python program: you can script it, you can use it in a HTML template language for dynamic websites (e.g. www.lmfdb.org ), you can use it in a Jupyter Notebook, you can write a GUI, use it via dynamic websites (e.g. sagecell.sagemath.org ), the command-line (ipython console), or even skip all that and just call it from a normal Python program as an extension library. The last point implies, that you can easily mix it with other libraries, e.g. pandas, scikit learn, etc.

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 18:06 UTC (Tue) by david.a.wheeler (subscriber, #72896) [Link] (2 responses)

Sage is combination of many other tools. As noted, it's historically been a pain to install, so this is a pitch for cloud.sagemath.com - letting people use their browser to just use the software.

I'd be curious to hear what people think about it, you can try it here: https://cloud.sagemath.com/

Open source math software competes in the classroom (Opensource.com)

Posted Mar 8, 2016 22:30 UTC (Tue) by vonbrand (guest, #4458) [Link] (1 responses)

It is available as a package for Fedora 23.

Open source math software competes in the classroom (Opensource.com)

Posted Mar 9, 2016 1:56 UTC (Wed) by Ed_L. (guest, #24287) [Link]

$> dnf install sagemath
. . .
Install 199 Packages

Total download size: 422 M
Installed size: 1.3 G
Is this ok [y/N]: y

It's small 'cuz I already install texlive, R, and scipy3 :)


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds