Distributed as a public service by X-Division, Lawrence Livermore National Laboratory.
This is the first public release of the Numerical Python package since LLNL has taken over custody of it from Jim Hugunin. We have not been able to do anything much yet in the way of quality control or testing. In the future we plan to restructure the distribution as a set of packages. However, in this release everything is simply lumped in together.
NumPy consists of a number of separate dynamically-loadable modules and a set of Python source (.py) files. The Python source files are all in the Lib directory. They need to be installed somewhere in the Python search path. The C modules are built into shared libraries and the shared libraries need to be installed into the search path.
On Windows, the shared libraries are produced in a subdirectory named pyds. A .pyd file is a Windows DLL renamed to have the .pyd extension, which Python recognizes. On Unix, the shared library might be called .so or .sl and is produced in the top-level directory.
On Unix: Get the file Makefile.pre.in from your Python installation and put it in the NumPy directory. Then execute python makenumpy.py followed by make; or follow the directions in the Makefile.pre.in file.
On Windows with Microsoft Visual C++ 5.0:
In both cases you then need to install the resulting shared libraries and the contents of the directory Lib into your Python path. We do not have an automatic installation script at this time.
Changes from the last version as distributed by Konrad Hinsen are:
1. ArrayPrinter.py
Fixed a bug. (Lee Busby)
2. LinearAlgebra.py / lapack_litemodule.c
The only difference from a user's point of view is in LinearAlgebra.singular_value_decomposition(). This function now takes a second optional argument which defaults to zero. Zero means that only the singular values and singular vectors are returned. One (or non-false) means that square matrices containing the singular vectors and a basis for the complementary space of the singular vectors are returned. (Konrad Hinsen)
3. Added tool to help make NumPy on Windows / Unix and a Windows binary installer. (Dubois, Ascher, Hinsen)
4. Note that compared to the last version distributed by Jim Hugunin, this version now uses Hinsen's method of improved dynamic loading. This requires you to add the following statement to the initialization section of any C extension module that uses C API arrayobject.h:
#include "arrayobject.h" .... during module initialization import_array();