sympy¶
SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python and does not require any external libraries.
Policy¶
sympy is available to users at HPC2N.
Citations
To cite SymPy in publications use
Meurer A, Smith CP, Paprocki M, Čertík O, Kirpichev SB, Rocklin M, Kumar A, Ivanov S, Moore JK, Singh S, Rathnayake T, Vig S, Granger BE, Muller RP, Bonazzi F, Gupta H, Vats S, Johansson F, Pedregosa F, Curry MJ, Terrel AR, Roučka Š, Saboo A, Fernando I, Kulal S, Cimrman R, Scopatz A. (2017) SymPy: symbolic computing in Python. PeerJ Computer Science 3:e103 https://doi.org/10.7717/peerj-cs.103
Overview¶
SymPy is…
- Free: Licensed under BSD, SymPy is free both as in speech and as in beer.
- Python-based: SymPy is written entirely in Python and uses Python for its language.
- Lightweight: SymPy only depends on mpmath, a pure Python library for arbitrary floating point arithmetic, making it easy to use.
- A library: Beyond use as an interactive tool, SymPy can be embedded in other applications and extended with custom functions.
See this page for info on features!
Usage at HPC2N¶
On HPC2N we have sympy available as a module.
Loading¶
To use the sympy module, add it to your environment. You can find versions with
and you can then find how to load a specific version (including prerequisites), with
Running¶
You can find information about how to use sympy on the sympy documentation page
Additional info¶
More information can be found on