Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/linalg/matfuncs.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 'expm', 'cosm', 'sinm', 'tanm', 'coshm', 'sinhm', 

10 'tanhm', 'logm', 'funm', 'signm', 'sqrtm', 

11 'expm_frechet', 'expm_cond', 'fractional_matrix_power', 

12 'khatri_rao', 'prod', 'logical_not', 'ravel', 'transpose', 

13 'conjugate', 'absolute', 'amax', 'sign', 'isfinite', 'single', 

14 'norm', 'solve', 'inv', 'triu', 'svd', 'schur', 'rsf2csf', 'eps', 'feps' 

15] 

16 

17 

18def __dir__(): 

19 return __all__ 

20 

21 

22def __getattr__(name): 

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

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

25 attribute=name)