SageMath
Template:Short description Template:Use dmy dates Script error: No such module "Infobox".Template:Template other Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters". SageMath (previously Sage or SAGE, "System for Algebra and Geometry Experimentation"[1]) is a computer algebra system (CAS) with features covering many aspects of mathematics, including algebra, combinatorics, graph theory, group theory, differentiable manifolds, numerical analysis, number theory, calculus, and statistics.
The first version of SageMath was released on 24 February 2005 as free and open-source software under the terms of the GNU General Public License version 2, with the initial goals of creating an "open source alternative to Magma, Maple, Mathematica, and MATLAB".[2] The originator and leader of the SageMath project, William Stein, was a mathematician at the University of Washington.
SageMath uses a syntax resembling Python's,[3] supporting procedural, functional, and object-oriented constructs.
Development
Stein realized when designing Sage that there were many open-source mathematics software packages already written in different languages, namely C, C++, Common Lisp, Fortran and Python.
Rather than reinventing the wheel, Sage (which is written mostly in Python and Cython) integrates many specialized CAS software packages into a common interface, for which a user needs to know only Python. However, Sage contains hundreds of thousands of unique lines of code adding new functions and creating the interfaces among its components.[4]
SageMath uses both students and professionals for development. The development of SageMath is supported by both volunteer work and grants.[5] However, it was not until 2016 that the first full-time Sage developer was hired (funded by an EU grant).[6] The same year, Stein described his disappointment with a lack of academic funding and credentials for software development, citing it as the reason for his decision to leave his tenured academic position to work full-time on the project in a newly founded company, SageMath Inc.[6]
Achievements
- 2007: first prize in the scientific software division of Les Trophées du Libre, an international competition for free software.[7]
- 2012: one of the projects selected for the Google Summer of Code.[8]
- 2013: ACM/SIGSAM Jenks Prize.[9]
Performance
Both binaries and source code are available for SageMath from the download page. If SageMath is built from source code, many of the included libraries such as OpenBLAS, FLINT, GAP (computer algebra system), and NTL will be tuned and optimized for that computer, taking into account the number of processors, the size of their caches, whether there is hardware support for SSE instructions, etc.
Cython can increase the speed of SageMath programs, as the Python code is converted into C.[10]
Licensing and availability
SageMath is free software, distributed under the terms of the GNU General Public License version 3.[11]
- Windows
SageMath 10.0 (May 2023) requires Windows Subsystem for Linux in version 2,[12] which in turn requires Windows to run as a Hyper-V client. SageMath 8.0 (July 2017), with development funded by the OpenDreamKit project,[6] successfully built on Cygwin, and a binary installer for 64-bit versions of Windows was available.[13] Although Microsoft was sponsoring a Windows version of SageMath, prior to 2016 users of Windows had to use virtualization technology such as VirtualBox to run SageMath.[14]
- Linux
SageMath is available as a package in some Linux distributions, including Arch Linux, Debian, Guix[15], Ubuntu and NixOS. In Gentoo, it is available via layman in the "sage-on-gentoo"[16] overlay. The packages used by NixOS and Gnu Guix are available for use on other distributions, due to the distribution-agnostic nature of their package managers.
- Other operating systems
Gentoo prefix also provides Sage on other operating systems.
Software packages contained in SageMath
The philosophy of SageMath is to use existing open-source libraries wherever they exist. Therefore, it uses many libraries from other projects.
| Template:Rh2 rowspan="12" | Mathematics packages contained in SageMath[17] |
Algebra | GAP, Singular, FLINT |
|---|---|---|
| Algebraic geometry | Singular | |
| Arbitrary-precision arithmetic | GMP, MPFR, MPFI, NTL, mpmath, Arb | |
| Arithmetic geometry | PARI/GP, NTL, mwrank, ECM | |
| Calculus | Maxima, SymPy, GiNaC, Giac, FriCAS | |
| Combinatorics | Symmetrica, Sage-Combinat | |
| Linear algebra | ATLAS, BLAS, LAPACK, NumPy, LinBox, IML, GSL | |
| Graph theory | NetworkX | |
| Group theory | GAP | |
| Numerical computation | GSL, SciPy, NumPy, ATLAS | |
| Number theory | PARI/GP, FLINT, NTL | |
| Statistical computing | R, SciPy | |
| Template:Rh2 rowspan="6" | Other packages contained in SageMath |
Command-line shell | IPython |
| Database | ZODB, SQLite | |
| Graphical interface | SageMath Notebook, MathJax[18] (formerly jsMath) | |
| Graphics | matplotlib, Tachyon, GD, Jmol | |
| Interactive programming language | Python | |
| Networking | Twisted | |
| Template:Rh2 | Other Mathematics package available for SageMath |
Differential geometry and tensor calculus | Sage Manifolds |
See also
Script error: No such module "Portal".
- CoCalc
- Comparison of numerical-analysis software
- Comparison of statistical packages
- List of computer algebra systems
References
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ a b c William Stein: The origins of SageMath – creating a viable open source alternative to Magma, Maple, Mathematica, and Matlab (presentation, 11 June 2016)
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Cite error: Script error: No such module "Namespace detect".Script error: No such module "Namespace detect".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ https://hpc.guix.info/package/sage
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters".
External links
Template:Sister project Template:Sister project
- Script error: No such module "Official website".Script error: No such module "Check for unknown parameters".
Template:Computer algebra systems Template:Numerical analysis software Template:Statistical software Script error: No such module "Navbox".
- Pages with script errors
- Pages with reference errors
- Pages using Infobox software with version errors
- Pages with broken file links
- Computer algebra system software for Linux
- Computer algebra system software for macOS
- Computer algebra system software for Windows
- Free and open-source Android software
- Free computer algebra systems
- Free educational software
- Free mathematics software
- Free software programmed in Python
- Mathematical software
- Python (programming language) scientific libraries