isolve.py 649 B

12345678910111213141516171819202122
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.sparse.linalg` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'bicg', 'bicgstab', 'cg', 'cgs', 'gcrotmk', 'gmres',
  7. 'lgmres', 'lsmr', 'lsqr',
  8. 'minres', 'qmr', 'tfqmr', 'test'
  9. ]
  10. def __dir__():
  11. return __all__
  12. def __getattr__(name):
  13. return _sub_module_deprecation(sub_package="sparse.linalg", module="isolve",
  14. private_modules=["_isolve"], all=__all__,
  15. attribute=name)