Scipy

From Wiki
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)