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

6 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` namespace for importing the functions 

3# included below. 

4 

5from scipy._lib.deprecation import _sub_module_deprecation 

6 

7 

8__all__ = [ # noqa: F822 

9 'bsr_matmat', 

10 'bsr_matrix', 

11 'bsr_matvec', 

12 'bsr_matvecs', 

13 'bsr_sort_indices', 

14 'bsr_tocsr', 

15 'bsr_transpose', 

16 'check_shape', 

17 'csr_matmat_maxnnz', 

18 'getdata', 

19 'getdtype', 

20 'isshape', 

21 'isspmatrix_bsr', 

22 'spmatrix', 

23 'to_native', 

24 'upcast', 

25 'warn', 

26] 

27 

28 

29def __dir__(): 

30 return __all__ 

31 

32 

33def __getattr__(name): 

34 return _sub_module_deprecation(sub_package="sparse", module="bsr", 

35 private_modules=["_bsr"], all=__all__, 

36 attribute=name)