Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/linalg/decomp.py: 83%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-23 06:43 +0000

1# This file is not meant for public use and will be removed in SciPy v2.0.0. 

2# Use the `scipy.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 'eig', 'eigvals', 'eigh', 'eigvalsh', 

10 'eig_banded', 'eigvals_banded', 

11 'eigh_tridiagonal', 'eigvalsh_tridiagonal', 'hessenberg', 'cdf2rdf', 

12 'array', 'isfinite', 'inexact', 'nonzero', 'iscomplexobj', 

13 'flatnonzero', 'argsort', 'iscomplex', 'einsum', 'eye', 'inf', 

14 'LinAlgError', 'norm', 'get_lapack_funcs' 

15] 

16 

17 

18def __dir__(): 

19 return __all__ 

20 

21 

22def __getattr__(name): 

23 return _sub_module_deprecation(sub_package="linalg", module="decomp", 

24 private_modules=["_decomp"], all=__all__, 

25 attribute=name)