numeric/numpy/numarray

John Hunter jdhunter at ace.bsd.uchicago.edu
Tue Jun 13 10:45:13 EDT 2006


>>>>> "Bryan" == Bryan  <belred at gmail.com> writes:

    Bryan> hi, what is the difference among numeric, numpy and
    Bryan> numarray?  i'm going to start using matplotlib soon and i'm
    Bryan> not sure which one i should use.

numpy is the successor to numarray and Numeric.  All three do
basically the same thing.  You should use numpy.

matplotlib works with all three, you just need to be sure to set your
"numerix" setting to "numpy" in your matplotlibrc file.

numerix      : numpy  # numpy, Numeric or numarray

On unix like OSes, this file is placed in ~/.matplotlib.  On windows
systems, it is usually found in C:\Documents and
Settings\yourname\.matplotlib

JDH



More information about the Python-list mailing list