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.4, created at 2024-03-22 06:44 +0000
« prev ^ index » next coverage.py v7.4.4, created at 2024-03-22 06:44 +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.
5from scipy._lib.deprecation import _sub_module_deprecation
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]
29def __dir__():
30 return __all__
33def __getattr__(name):
34 return _sub_module_deprecation(sub_package="sparse", module="bsr",
35 private_modules=["_bsr"], all=__all__,
36 attribute=name)