summaryrefslogtreecommitdiff
path: root/numpy/core/defmatrix.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/defmatrix.py')
-rw-r--r--numpy/core/defmatrix.py7
1 files changed, 0 insertions, 7 deletions
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