summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McIntyre <alan.mcintyre@local>2008-07-23 13:17:45 +0000
committerAlan McIntyre <alan.mcintyre@local>2008-07-23 13:17:45 +0000
commit0175369fb56e29d891a0d8f9517f9149ed4e602f (patch)
treecc720b4eef51037740870cf95ee71ef9f951a525
parent681aa536342db1332a5af9b632495ddc883ecba9 (diff)
downloadnumpy-0175369fb56e29d891a0d8f9517f9149ed4e602f.tar.gz
Removed unused private function _castCopyAndTranspose.
-rw-r--r--numpy/linalg/linalg.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 1f28967e3..913a99499 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -92,14 +92,7 @@ def _commonType(*arrays):
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 is an optimized version of _castCopyAndTranspose.
-# It assumes the input is 2D (as all the calls in here are).
+# _fastCopyAndTranpose assumes the input is 2D (as all the calls in here are).
_fastCT = fastCopyAndTranspose