Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/linalg/special_matrices.py: 83%
6 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-23 06:43 +0000
« 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.
5from scipy._lib.deprecation import _sub_module_deprecation
7__all__ = [ # noqa: F822
8 'tri', 'tril', 'triu', 'toeplitz', 'circulant', 'hankel',
9 'hadamard', 'leslie', 'kron', 'block_diag', 'companion',
10 'helmert', 'hilbert', 'invhilbert', 'pascal', 'invpascal', 'dft',
11 'fiedler', 'fiedler_companion', 'convolution_matrix', 'as_strided'
12]
15def __dir__():
16 return __all__
19def __getattr__(name):
20 return _sub_module_deprecation(sub_package="linalg", module="special_matrices",
21 private_modules=["_special_matrices"], all=__all__,
22 attribute=name)