Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: compblas

This branch is 262 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
This directory contains SymPy example programs.

-------------------------------------------------------------------------------
DIRECTORY STRUCTURE

The examples are broken up into three categories based on difficulty of both
the mathematics and programming concepts.  They roughly follow the following
guide:

beginner :
  Simple examples appropriate for first steps in using SymPy, for someone
  with little or no programming experience.

intermediate :
  Demonstrations of more complex mathematical concepts, but still for
  someone with little programming experience.

advanced :
  Larger demonstrations of advanced mathematical topics.

-------------------------------------------------------------------------------
RUNNING EXAMPLES

All the working examples can be run by executing the "all.py" script, use
./all.py -h for usage, if an example is known to be broken it will be commented
out in this script.

To run the individual examples one needs to have Python version >= 2.4
installed and SymPy must be in your PYTHONPATH environment variable.  Most
examples can be run from the command line python and the name of the example:

  aterrel@lilac:~/sympy/examples$ export PYTHONPATH=$PWD/..:$PYTHONPATH
  aterrel@lilac:~/sympy/examples$ python beginner/basic.py
  (3*a*b**2)**c

Note: on most systems, the current directory is searched by Python
automatically, so "python beginner/basic.py" works from the sympy root
directory, however there are systems (Ubuntu Intrepid) where this doesn't work
by default, unless you put "PYTHONPATH=." into your .bashrc for example.
Something went wrong with that request. Please try again.