From 49a0503e47c9bb06d0bf7430b2958f7c23976234 Mon Sep 17 00:00:00 2001 From: "wfspotz@sandia.gov" Date: Thu, 29 Nov 2007 19:52:29 +0000 Subject: * Added a new typemap suite, ARGOUTVIEW, which takes a view of a data buffer and converts it to an output numpy array (1D, 2D and 3D, with before- and after- dimension specifications.) * Added new tests for the ARGOUTVIEW typemaps in the test directory (Array1 and Array2 classes, both included in the Array python extension module, tested in testArray.py). * Updated the documentation to reflect the latest changes. --- numpy/doc/swig/doc/numpy_swig.html | 122 ++++++++++------ numpy/doc/swig/doc/numpy_swig.pdf | Bin 163324 -> 166822 bytes numpy/doc/swig/doc/numpy_swig.txt | 61 ++++++-- numpy/doc/swig/doc/testing.pdf | Bin 72687 -> 72439 bytes numpy/doc/swig/numpy.i | 272 +++++++++++++++++++++++------------ numpy/doc/swig/test/Array.i | 107 ++++++++++++++ numpy/doc/swig/test/Array1.cxx | 131 +++++++++++++++++ numpy/doc/swig/test/Array1.h | 55 +++++++ numpy/doc/swig/test/Array2.cxx | 168 ++++++++++++++++++++++ numpy/doc/swig/test/Array2.h | 63 ++++++++ numpy/doc/swig/test/Makefile | 8 +- numpy/doc/swig/test/setup.py | 12 +- numpy/doc/swig/test/testArray.py | 285 +++++++++++++++++++++++++++++++++++++ 13 files changed, 1137 insertions(+), 147 deletions(-) create mode 100644 numpy/doc/swig/test/Array.i create mode 100644 numpy/doc/swig/test/Array1.cxx create mode 100644 numpy/doc/swig/test/Array1.h create mode 100644 numpy/doc/swig/test/Array2.cxx create mode 100644 numpy/doc/swig/test/Array2.h create mode 100755 numpy/doc/swig/test/testArray.py (limited to 'numpy/doc/swig') diff --git a/numpy/doc/swig/doc/numpy_swig.html b/numpy/doc/swig/doc/numpy_swig.html index 7da4f57fc..93a576001 100644 --- a/numpy/doc/swig/doc/numpy_swig.html +++ b/numpy/doc/swig/doc/numpy_swig.html @@ -5,7 +5,7 @@ numpy.i: a SWIG Interface File for NumPy - +