Contribute Media
A thank you to everyone who makes this possible: Read More

Symbolic Computing with SymPy, SciPy2013 Tutorial, Part 3 of 6

Summary

Ondrej Certik, Mateusz Paprocki, Aaron Meurer

Description

SymPy is a pure 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.

In this tutorial we will introduce attendees to SymPy. We will start by showing how to install and configure this Python module. Then we will proceed to the basics of constructing and manipulating mathematical expressions in SymPy. We will also discuss the most common issues and differences from other computer algebra systems, and how to deal with them. In the last part of this tutorial we will show how to solve simple, yet illustrative, mathematical problems with SymPy.

This knowledge should be enough for attendees to start using SymPy for solving mathematical problems and hacking SymPy's internals (though hacking core modules may require additional expertise).

We expect attendees of this tutorial to have basic knowledge of Python and mathematics. However, any more advanced topics will be explained during presentation.

Outline

installing, configuring and running SymPy basics of expressions in SymPy traversal and manipulation of expressions common issues and differences from other CAS setting up and using printers querying expression properties not only symbolics: numerical computing (mpmath) Mathematical problem solving with SymPy Required Packages

Python 2.x or 3.x, SymPy (most recent version) Optional packages: IPython, matplotlib, NetworkX, GMPY, numpy, scipy

Documentation

http://mattpap.github.com/scipy-2011-tutorial/html/index.html

Details

Improve this page