[Scipy-svn] r6283 - trunk/scipy/linalg

scipy-svn@scip... scipy-svn@scip...
Mon Mar 29 23:39:23 CDT 2010


Author: cdavid
Date: 2010-03-29 23:39:23 -0500 (Mon, 29 Mar 2010)
New Revision: 6283

Removed:
   trunk/scipy/linalg/iterative.py
Modified:
   trunk/scipy/linalg/__init__.py
Log:
ENH: remove deprecated scipy.linalg.iterative.

Modified: trunk/scipy/linalg/__init__.py
===================================================================
--- trunk/scipy/linalg/__init__.py	2010-03-30 04:39:16 UTC (rev 6282)
+++ trunk/scipy/linalg/__init__.py	2010-03-30 04:39:23 UTC (rev 6283)
@@ -10,9 +10,6 @@
 from matfuncs import *
 from blas import *
 
-from iterative import *
-
-
 __all__ = filter(lambda s:not s.startswith('_'),dir())
 
 from numpy.dual import register_func

Deleted: trunk/scipy/linalg/iterative.py
===================================================================
--- trunk/scipy/linalg/iterative.py	2010-03-30 04:39:16 UTC (rev 6282)
+++ trunk/scipy/linalg/iterative.py	2010-03-30 04:39:23 UTC (rev 6283)
@@ -1,13 +0,0 @@
-__all__ = ['bicg','bicgstab','cg','cgs','gmres','qmr']
-
-# Deprecated on January 26, 2008
-
-from scipy.sparse.linalg import isolve
-from numpy import deprecate
-
-for name in __all__:
-    oldfn = getattr(isolve, name)
-    oldname='scipy.linalg.' + name
-    newname='scipy.sparse.linalg.' + name
-    newfn = deprecate(oldfn, old_name=oldname, new_name=newname)
-    exec(name + ' = newfn')



More information about the Scipy-svn mailing list