Sunday, March 6, 2011

What is the difference between NumPy and SciPy

In an ideal world, NumPy would contain nothing but the array data type and the most basic operations:
indexing, sorting, reshaping, basic elementwise functions, et cetera. All numerical code would reside
in SciPy. However, one of NumPy’s important goals is compatibility, so NumPy tries to retain all features
supported by either of its predecessors. Thus NumPy contains some linear algebra functions, even though
these more properly belong in SciPy. In any case, SciPy contains more fully-featured versions of the linear
algebra modules, as well as many other numerical algorithms. If you are doing scientific computing with
python, you should probably install both NumPy and SciPy. Most new features belong in SciPy rather than NumPy.

1 comment:

  1. Look at here :

    http://stackoverflow.com/questions/6200910/relationship-between-scipy-and-numpy

    ReplyDelete