CARVIEW |
Select Language
HTTP/2 200
date: Wed, 16 Jul 2025 00:18:24 GMT
server: Apache/2.4.41 (Ubuntu)
vary: Cookie,User-Agent,Accept-Encoding
set-cookie: MOIN_SESSION_443_ROOT_moin=34bd45418c9aa1a37732f756472ea2d79cb563e1; Expires=Wed, 16-Jul-2025 01:18:00 GMT; Max-Age=3600; Secure; Path=/
content-encoding: gzip
content-type: text/html; charset=utf-8
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
SymPy - Python Wiki
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.
Homepage: https://sympy.org/
Source Code: https://github.com/sympy/sympy
Mailing list: https://groups.google.com/forum/?fromgroups#!forum/sympy
Examples
>>> from sympy import * >>> x, y, z, t = symbols('x y z t') >>> k, m, n = symbols('k m n', integer=True)
>>> integrate(exp(x)*x**2, x) ⎛ 2 ⎞ x ⎝x - 2⋅x + 2⎠⋅ℯ
>>> expand((x + y)**3) 3 2 2 3 x + 3⋅x ⋅y + 3⋅x⋅y + y >>> factor(_) 3 (x + y)
>>> Sum((-1)**n*x**n/factorial(n), (n, 0, oo)) ∞ ____ ╲ ╲ n n ╲ (-1) ⋅x ╱ ──────── ╱ n! ╱ ‾‾‾‾ n = 0 >>> _.doit() -x ℯ
SymPy (last edited 2013-04-19 03:27:06 by asmeurer)
Unable to edit the page? See the FrontPage for instructions.