From a38f52777b28f91f73022b49a7d7000592dfd092 Mon Sep 17 00:00:00 2001 From: Alan McIntyre Date: Wed, 9 Jul 2008 20:25:41 +0000 Subject: Removed matrix._get_truendim (unused). --- numpy/core/defmatrix.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'numpy/core/defmatrix.py') diff --git a/numpy/core/defmatrix.py b/numpy/core/defmatrix.py index 2008ba62e..073f63388 100644 --- a/numpy/core/defmatrix.py +++ b/numpy/core/defmatrix.py @@ -249,13 +249,6 @@ class matrix(N.ndarray): 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 -- cgit v1.2.1