summaryrefslogtreecommitdiff
path: root/numpy/doc/swig/numpy.i
Commit message (Collapse)AuthorAgeFilesLines
* Move documentation outside of source tree. Remove `doc` import from __init__.Stefan van der Walt2008-08-231-1634/+0
|
* Correctly handle Fortran-contiguous arrays in SWIG wrappers.Stefan van der Walt2008-08-121-6/+59
|
* Replace tabs with spaces.Charles Harris2008-05-011-154/+154
|
* Remove trailing whitespace.Charles Harris2008-05-011-28/+28
|
* Fix grammar.Charles Harris2008-05-011-2/+2
|
* Changed setting of fortran-order array's flag; corrected documentaionwfspotz@sandia.gov2007-12-011-1/+2
|
* * Added support for FORTRAN-ordered arrays to numpy.i.wfspotz@sandia.gov2007-11-301-19/+355
| | | | | | | | * Added new tests that test some of the FORTRAN-ordered typemaps. * Updated the documentation to include the new FORTRAN-ordering support.
* * Added a new typemap suite, ARGOUTVIEW, which takes a view of a datawfspotz@sandia.gov2007-11-291-91/+181
| | | | | | | | | | | | 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.
* Added min and max macros to Backward Compatibility fragmentswfspotz@sandia.gov2007-11-241-26/+44
|
* Added new fragment dependency to unsigned long fragmentwfspotz@sandia.gov2007-11-241-2/+2
|
* Added %fragment 'NumPy_Fragments' for conveniencewfspotz@sandia.gov2007-11-231-20/+28
|
* Changed #define to %#define so that they delay implementationwfspotz@sandia.gov2007-11-231-8/+8
|
* Changed numpy.i so that helper macros and helper functions are nowwfspotz@sandia.gov2007-11-231-341/+473
| | | | | | implemented as swig %fragments. This allows me to implement the backward compatibility macros without duplicating them.
* Update SWIG typemaps to be C89 compliant (patch by Matthieu Brucher).Stefan van der Walt2007-11-231-14/+16
| | | | Fix filenames in setup.py. Fix tests in Makefile.
* Added pyfragments.swg, which expands integer type-checking to accept numpy ↵wfspotz@sandia.gov2007-11-221-2/+12
| | | | array scalars
* Changed freearg typemaps to use brackets to avoid 'ambiguous else' warning ↵wfspotz@sandia.gov2007-09-131-9/+18
| | | | under C
* Fixed C++ code to be C-compliantwfspotz@sandia.gov2007-09-131-4/+4
|
* Fixed format string warningwfspotz@sandia.gov2007-06-171-2/+2
|
* Fixed typo in documentationwfspotz@sandia.gov2007-04-131-2/+2
|
* Provided more sophisticated typecheck typemap for IN_ARRAYswfspotz@sandia.gov2007-04-111-9/+9
|
* long lost author was... eric.Eric Jones2007-04-111-1/+1
|
* Changed remaining ->nd struct accesses to use array_numdims() macrowfspotz@sandia.gov2007-04-101-2/+2
|
* Added 'array_data()' macros and used it in the typemaps; added new macro to ↵wfspotz@sandia.gov2007-04-101-23/+24
| | | | the documentation
* Added %typecheck directive for IN_ARRAY typemapswfspotz@sandia.gov2007-04-081-0/+45
|
* Standardized PyArrayObject namingwfspotz@sandia.gov2007-04-081-58/+58
|
* Added more testing of 1D typemaps, specifically error checking; found and ↵wfspotz@sandia.gov2007-04-061-2/+4
| | | | fixed bug where INPLACE_ARRAY1 typemaps didn't check number of dimensions
* Added first cut at (untested) 3D typemaps; split testSeries.py into ↵wfspotz@sandia.gov2007-04-041-16/+164
| | | | test1D.py and test2D.py
* Updated documentation to reflect changes to internal macros and routines, ↵wfspotz@sandia.gov2007-04-031-2/+2
| | | | the new error-checking in the INPLACE typemaps, and an updated Acknowledgement section
* Modified INPLACE typemaps to check for native byte order, and for 2D case, ↵wfspotz@sandia.gov2007-04-031-11/+31
| | | | require that the python argument be 2D as well
* Added (DATA_TYPE* ARGOUT_ARRAY1, DIM_TYPE DIM1) and (DIM_TYPE DIM1, ↵wfspotz@sandia.gov2007-04-011-14/+80
| | | | DATA_TYPE* ARGOUT_ARRAY1) typemaps, and tests, and documentation
* Added tests for ARGOUT_ARRAY1 and ARGOUT_ARRAY2 typemapswfspotz@sandia.gov2007-04-011-35/+12
|
* Added typemaps for signatures (TYPE INPLACE_ARRAY1[ANY]) and (TYPE ↵wfspotz@sandia.gov2007-03-251-5/+45
| | | | INPLACE_ARRAY2[ANY][ANY])
* Added typemaps for signatures (TYPE IN_ARRAY1[ANY]) and (TYPE ↵wfspotz@sandia.gov2007-03-241-101/+161
| | | | IN_ARRAY2[ANY][ANY])
* Added typecheck typemaps to INPLACE_ARRAY typemap suiteswfspotz@sandia.gov2007-03-231-22/+76
|
* Added '#ifdef SWIGPYTHON' protectionwfspotz@sandia.gov2007-03-231-18/+27
|
* Removed stubs for CHAR and OBJECT; added macro variable for dimension type; ↵wfspotz@sandia.gov2007-03-191-82/+81
| | | | updated documentation
* Added typemap signatures where the dimensions come before the data pointerwfspotz@sandia.gov2007-03-141-14/+80
|
* In numpy.i:wfspotz@sandia.gov2007-03-141-227/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * I consolidated several macros TYPEMAP_IN1 TYPEMAP_IN2 TYPEMAP_INPLACE1 TYPEMAP_INPLACE2 TYPEMAP_ARGOUT1 TYPEMAP_ARGOUT2 into a single macros, %numpy_typemaps(). This makes expanding the typemaps for a given data type much easier. * The %numpy_typemaps() macro is now expanded for:: signed char unsigned char short unsigned short int unsigned int long unsigned long long long unsigned long long float double PyObject char * I changed the ARGOUT typemaps to check for multiple output arguments, and form a tuple if necessary. * Updated the code to work with released numpy versions 0.9.6, 0.9.8, 1.0 and 1.0.1. * Upgraded the dimension arrays to use type npy_intp. I also added documentation: numpy_swig.txt is a numpy.i users guide in restructured text format; numpy_swig.html is the same content in HTML. The Makefile can produce this with 'make html', assuming docutils is installed. The series.h and series.cxx files have been refactored to use macros to generate repetitive code for different types. All the supported types have tests for all of the non-ARGOUT typemaps. ARGOUT typemap tests still need to be written.
* Fix missing ) in numpy.iTravis Oliphant2006-07-061-9/+3
|
* Change from C++ commentsTravis Oliphant2006-05-171-2/+2
|
* Fix issue #77Travis Oliphant2006-04-251-1/+2
|
* Fix reference-count problem in Macro form of EquivTypenums and update ↵Travis Oliphant2006-04-251-3/+4
| | | | numpy.i to use EquivTypenums.
* Applied ticket #77 patch.Pearu Peterson2006-04-241-2/+2
|
* Move swig and pyrex overTravis Oliphant2006-03-131-0/+492