[Numpy-svn] r5509 - trunk/numpy/linalg
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed Jul 23 09:17:48 EDT 2008
Author: alan.mcintyre
Date: 2008-07-23 08:17:45 -0500 (Wed, 23 Jul 2008)
New Revision: 5509
Modified:
trunk/numpy/linalg/linalg.py
Log:
Removed unused private function _castCopyAndTranspose.
Modified: trunk/numpy/linalg/linalg.py
===================================================================
--- trunk/numpy/linalg/linalg.py 2008-07-22 23:02:29 UTC (rev 5508)
+++ trunk/numpy/linalg/linalg.py 2008-07-23 13:17:45 UTC (rev 5509)
@@ -92,15 +92,8 @@
t = double
return t, result_type
-def _castCopyAndTranspose(type, *arrays):
- if len(arrays) == 1:
- return transpose(arrays[0]).astype(type)
- else:
- return [transpose(a).astype(type) for a in arrays]
+# _fastCopyAndTranpose assumes the input is 2D (as all the calls in here are).
-# _fastCopyAndTranpose is an optimized version of _castCopyAndTranspose.
-# It assumes the input is 2D (as all the calls in here are).
-
_fastCT = fastCopyAndTranspose
def _fastCopyAndTranspose(type, *arrays):
More information about the Numpy-svn
mailing list