SymPy is a symbolic manipulation package, written in pure Python. Its aim is to become a full featured CAS in Python, while keeping the code as simple as possible in order to be comprehensible and easily extensible. Currently, Sympy has only around 1600 lines of code (including comments), and its capabilities include basic arithmetics, basic simplification, series expansion, functions (exp, ln, sin, cos, tan, etc.), differentiation, integration (currently it can do only very simple integrals), basic substitution, arbitrary precision integers and rationals, standard (Python) floats, basic complex numbers, and symbolic limits.
Changes: Many documentation improvements were made, including docstrings and doctests. A new assumptions system (GSoC) is used. Improvements were made to the test runner. Printing was improved. The discriminant of polys was aded. Block diagonal methods for matrices were added. Vast improvements were made for solving of ODEs. The logcombine function was added. Improvements were made for sets. Trigonometric simplification was improved. Improvements were made to piecewise functions. Quartic and cubic polynomial rootfinding is now much better. Code refactoring and cleanup were done.
![]()
Tags: Scientific/Engineering, Mathematics, Software Development, Libraries