Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/linalg/basic.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 'solve', 'solve_triangular', 'solveh_banded', 'solve_banded', 

10 'solve_toeplitz', 'solve_circulant', 'inv', 'det', 'lstsq', 

11 'pinv', 'pinvh', 'matrix_balance', 'matmul_toeplitz', 

12 'atleast_1d', 'atleast_2d', 'get_flinalg_funcs', 'get_lapack_funcs', 

13 'LinAlgError', 'LinAlgWarning', 'levinson' 

14] 

15 

16 

17def __dir__(): 

18 return __all__ 

19 

20 

21def __getattr__(name): 

22 return _sub_module_deprecation(sub_package="linalg", module="basic", 

23 private_modules=["_basic"], all=__all__, 

24 attribute=name)