summaryrefslogtreecommitdiff
path: root/numpy/core/defmatrix.py
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-07-09 20:25:41 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-07-09 20:25:41 +0000
commita38f52777b28f91f73022b49a7d7000592dfd092 (patch)
tree08ddc46cfc799f6cf15cd84eccc866f2f5beff24 /numpy/core/defmatrix.py
parent3f1e1be7404a3016f664d4aef3545b099b2068c0 (diff)
downloadnumpy-a38f52777b28f91f73022b49a7d7000592dfd092.tar.gz
Removed matrix._get_truendim (unused).
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