[Numpy-svn] r3347 - in trunk: . numpy/core/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Tue Oct 17 12:01:40 EDT 2006
Author: oliphant
Date: 2006-10-17 11:01:37 -0500 (Tue, 17 Oct 2006)
New Revision: 3347
Modified:
trunk/THANKS.txt
trunk/numpy/core/tests/test_regression.py
Log:
Re-format THANKS.txt and add check for reshape order argument.
Modified: trunk/THANKS.txt
===================================================================
--- trunk/THANKS.txt 2006-10-17 15:53:59 UTC (rev 3346)
+++ trunk/THANKS.txt 2006-10-17 16:01:37 UTC (rev 3347)
@@ -5,17 +5,23 @@
which gave much inspiration and showed the way forward.
Paul Dubois for Masked Arrays
Pearu Peterson for f2py and distutils and help with code organization
-Robert Kern for mtrand, bug fixes, help with distutils, and code organization
+Robert Kern for mtrand, bug fixes, help with distutils, code organization,
+ and much more.
Eric Jones for sundry subroutines
Fernando Perez for code snippets, ideas, bugfixes, and testing.
Ed Schofield for matrix.py patches, bugfixes, testing, and docstrings.
John Hunter for code snippets (from matplotlib)
Chris Hanley for help with records.py, testing, and bug fixes.
-Travis Vaught and Joe Cooper for administration of numpy.org web site and SVN
+Travis Vaught, Joe Cooper, Jeff Strunk for administration of
+ numpy.org web site and SVN
Eric Firing for bugfixes.
Arnd Baecker for 64-bit testing
-David Cooke for many code improvements including the auto-generated C-API, and optimizations.
-Alexander Belopolsky (Sasha) for Masked array bug-fixes and tests, rank-0 array improvements, scalar math help and other code additions
-Francesc Altet for unicode and nested record tests and help with nested records
-Tim Hochberg for getting the build working on MSVC, optimization improvements, and code review
-Charles Harris for the sorting code originally written for Numarray.
+David Cooke for many code improvements including the auto-generated C-API,
+ and optimizations.
+Alexander Belopolsky (Sasha) for Masked array bug-fixes and tests,
+ rank-0 array improvements, scalar math help and other code additions
+Francesc Altet for unicode and nested record tests
+ and much help with rooting out nested record array bugs.
+Tim Hochberg for getting the build working on MSVC, optimization
+ improvements, and code review
+Charles Harris for the sorting code originally written for Numarray and for improvements to polyfit, many bug fixes, and documentation strings.
Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py 2006-10-17 15:53:59 UTC (rev 3346)
+++ trunk/numpy/core/tests/test_regression.py 2006-10-17 16:01:37 UTC (rev 3347)
@@ -529,6 +529,14 @@
dt1=N.dtype(('uint32', 2))
dt2=N.dtype(('uint32', (2,)))
assert_equal(dt1.__repr__(), dt2.__repr__())
+
+ def check_reshape_order(self, level=rlevel):
+ """Make sure reshape order works."""
+ a = N.arange(6).reshape(2,3,order='F')
+ assert_equal(a,[[0,2,4],[1,3,5]])
+ a = N.array([[1,2],[3,4],[5,6],[7,8]])
+ b = a[:,1]
+ assert_equal(b.reshape(2,2,order='F'), [[2,6],[4,8]])
if __name__ == "__main__":
NumpyTest().run()
More information about the Numpy-svn
mailing list