Scipy

From Wiki
Revision as of 00:22, 4 February 2011 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

On Ubuntu, install the "python-scipy" package.

References

Example

import scipy
a = [1, 2, 3, 4]
print scipy.mean  # 2.5
from scipy import special  # subpackages must be imported separately
print special.erf(2)