2018-05-31 07:32:07 +08:00
|
|
|
NumPy is a general-purpose array-processing package designed to efficiently
|
|
|
|
manipulate large multi-dimensional arrays of arbitrary records without
|
|
|
|
sacrificing too much speed for small multi-dimensional arrays. NumPy is built
|
|
|
|
on the Numeric code base and adds features introduced by numarray as well as an
|
|
|
|
extended C-API and the ability to create arrays of arbitrary type which also
|
|
|
|
makes NumPy suitable for interfacing with general-purpose data-base
|
|
|
|
applications.
|
2014-10-28 09:09:34 +08:00
|
|
|
|
2018-05-31 07:32:07 +08:00
|
|
|
There are also basic facilities for discrete fourier transform, basic linear
|
|
|
|
algebra and random number generation.
|
2012-09-14 09:56:46 +08:00
|
|
|
|
2016-08-26 08:10:35 +08:00
|
|
|
If you need to build numpy for debugging, set DEBUG=y. If you use software
|
|
|
|
which is having problems with numpy's new relaxed strides checking, set
|
|
|
|
NPY_RSC=0.
|
2014-10-28 09:09:34 +08:00
|
|
|
|
2016-08-26 08:10:35 +08:00
|
|
|
It is highly recommended to install libraries implementing BLAS and LAPACK
|
|
|
|
before installing numpy. You may choose between:
|
2018-05-31 07:32:07 +08:00
|
|
|
a) blas and lapack (reference but unoptimized and thus slow)
|
2016-08-26 08:10:35 +08:00
|
|
|
b) OpenBLAS (optimized, provides LAPACK too)
|
2018-05-31 07:32:07 +08:00
|
|
|
c) atlas and lapack (optimized), good to read README.ATLAS
|
2016-08-26 08:10:35 +08:00
|
|
|
All these are available on SlackBuilds.org.
|
2014-10-28 09:09:34 +08:00
|
|
|
|
2016-08-26 08:10:35 +08:00
|
|
|
If you want to use the UMFPACK library instead of SuperLU to solve unsymmetric
|
|
|
|
sparse linear systems, then run this Slackbuild with NO_UMFPACK set to "no"
|
2018-05-31 07:32:07 +08:00
|
|
|
and then install scikit-umfpack on top of scipy. In this context, umfpack is an
|
2016-08-26 08:10:35 +08:00
|
|
|
optional dependency for numpy. Nevertheless, note that presently scikit-umfpack
|
2018-05-31 07:32:07 +08:00
|
|
|
is not available on SlackBuilds.org.
|
2016-08-26 08:10:35 +08:00
|
|
|
|
|
|
|
NOTE: If you use this SlackBuild, numpy will run with the python version
|
|
|
|
provided by Slackware Linux, which is presently 2.7.xx. If you'd like to
|
2018-05-31 07:32:07 +08:00
|
|
|
use python 3.x then you have to install the numpy3 SlackBuild.
|
2016-08-26 08:10:35 +08:00
|
|
|
|
|
|
|
IMPORTANT: The version installed by this SlackBuild does NOT include the
|
2014-10-28 09:09:34 +08:00
|
|
|
oldnumeric and numarray compatibility modules since starting with
|
|
|
|
version 1.9.0 these modules got removed by the numpy developers.
|
|
|
|
If you need these compatibility modules please consider the
|
|
|
|
numpy-legacy SlackBuild.
|
|
|
|
THUS: This SlackBuild conflicts with the numpy-legacy SlackBuild
|
|
|
|
which installs versions < 1.9.0!
|