[Numpy-svn] r5381 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Wed Jul 9 15:25:46 CDT 2008


Author: alan.mcintyre
Date: 2008-07-09 15:25:41 -0500 (Wed, 09 Jul 2008)
New Revision: 5381

Modified:
   trunk/numpy/core/defmatrix.py
Log:
Removed matrix._get_truendim (unused).


Modified: trunk/numpy/core/defmatrix.py
===================================================================
--- trunk/numpy/core/defmatrix.py	2008-07-09 20:19:55 UTC (rev 5380)
+++ trunk/numpy/core/defmatrix.py	2008-07-09 20:25:41 UTC (rev 5381)
@@ -249,13 +249,6 @@
                 out.shape = (1,sh)
         return out
 
-    def _get_truendim(self):
-        shp = self.shape
-        truend = 0
-        for val in shp:
-            if (val > 1): truend += 1
-        return truend
-
     def __mul__(self, other):
         if isinstance(other,(N.ndarray, list, tuple)) :
             # This promotes 1-D vectors to row vectors



More information about the Numpy-svn mailing list