Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/sparse/linalg/eigen.py: 86%

7 statements  

« prev     ^ index     » next       coverage.py v7.4.1, created at 2024-02-14 06:37 +0000

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 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7 

8__all__ = [ # noqa: F822 

9 'ArpackError', 'ArpackNoConvergence', 'ArpackError', 

10 'eigs', 'eigsh', 'lobpcg', 'svds', 'arpack', 'test' 

11] 

12 

13eigen_modules = ['arpack'] 

14 

15 

16def __dir__(): 

17 return __all__ 

18 

19 

20def __getattr__(name): 

21 return _sub_module_deprecation(sub_package="sparse.linalg", module="eigen", 

22 private_modules=["_eigen"], all=__all__, 

23 attribute=name)