11# This file is not meant for public use and will be removed in SciPy v2.0.0.
22
3- from ._basic import (
4- det ,
5- inv ,
6- lstsq ,
7- matmul_toeplitz ,
8- matrix_balance ,
9- pinv ,
10- pinvh ,
11- solve ,
12- solve_banded ,
13- solve_circulant ,
14- solve_toeplitz ,
15- solve_triangular ,
16- solveh_banded ,
17- )
18- from .lapack import get_lapack_funcs
19- from .misc import LinAlgError , LinAlgWarning
3+ from typing_extensions import deprecated
204
215__all__ = [
226 "LinAlgError" ,
@@ -36,3 +20,119 @@ __all__ = [
3620 "solve_triangular" ,
3721 "solveh_banded" ,
3822]
23+
24+ @deprecated ("will be removed in SciPy v2.0.0" )
25+ class LinAlgError (Exception ): ...
26+
27+ @deprecated ("will be removed in SciPy v2.0.0" )
28+ class LinAlgWarning (RuntimeWarning ): ...
29+
30+ @deprecated ("will be removed in SciPy v2.0.0" )
31+ def get_lapack_funcs (
32+ names : object ,
33+ arrays : object = ...,
34+ dtype : object = ...,
35+ ilp64 : object = ...,
36+ ) -> object : ...
37+ @deprecated ("will be removed in SciPy v2.0.0" )
38+ def solve (
39+ a : object ,
40+ b : object ,
41+ lower : object = ...,
42+ overwrite_a : object = ...,
43+ overwrite_b : object = ...,
44+ check_finite : object = ...,
45+ assume_a : object = ...,
46+ transposed : object = ...,
47+ ) -> object : ...
48+ @deprecated ("will be removed in SciPy v2.0.0" )
49+ def solve_triangular (
50+ a : object ,
51+ b : object ,
52+ trans : object = ...,
53+ lower : object = ...,
54+ unit_diagonal : object = ...,
55+ overwrite_b : object = ...,
56+ check_finite : object = ...,
57+ ) -> object : ...
58+ @deprecated ("will be removed in SciPy v2.0.0" )
59+ def solve_banded (
60+ l_and_u : object ,
61+ ab : object ,
62+ b : object ,
63+ overwrite_ab : object = ...,
64+ overwrite_b : object = ...,
65+ check_finite : object = ...,
66+ ) -> object : ...
67+ @deprecated ("will be removed in SciPy v2.0.0" )
68+ def solveh_banded (
69+ ab : object ,
70+ b : object ,
71+ overwrite_ab : object = ...,
72+ overwrite_b : object = ...,
73+ lower : object = ...,
74+ check_finite : object = ...,
75+ ) -> object : ...
76+ @deprecated ("will be removed in SciPy v2.0.0" )
77+ def solve_toeplitz (
78+ c_or_cr : object | tuple [object , object ],
79+ b : object ,
80+ check_finite : object = ...,
81+ ) -> object : ...
82+ @deprecated ("will be removed in SciPy v2.0.0" )
83+ def solve_circulant (
84+ c : object ,
85+ b : object ,
86+ singular : object = ...,
87+ tol : object = ...,
88+ caxis : object = ...,
89+ baxis : object = ...,
90+ outaxis : object = ...,
91+ ) -> object : ...
92+ @deprecated ("will be removed in SciPy v2.0.0" )
93+ def inv (a : object , overwrite_a : object = ..., check_finite : object = ...) -> object : ...
94+ @deprecated ("will be removed in SciPy v2.0.0" )
95+ def det (a : object , overwrite_a : object = ..., check_finite : object = ...) -> object : ...
96+ @deprecated ("will be removed in SciPy v2.0.0" )
97+ def lstsq (
98+ a : object ,
99+ b : object ,
100+ cond : object = ...,
101+ overwrite_a : object = ...,
102+ overwrite_b : object = ...,
103+ check_finite : object = ...,
104+ lapack_driver : object = ...,
105+ ) -> object : ...
106+ @deprecated ("will be removed in SciPy v2.0.0" )
107+ def pinv (
108+ a : object ,
109+ * ,
110+ atol : object = ...,
111+ rtol : object = ...,
112+ return_rank : object = ...,
113+ check_finite : object = ...,
114+ ) -> object : ...
115+ @deprecated ("will be removed in SciPy v2.0.0" )
116+ def pinvh (
117+ a : object ,
118+ atol : object = ...,
119+ rtol : object = ...,
120+ lower : object = ...,
121+ return_rank : object = ...,
122+ check_finite : object = ...,
123+ ) -> object : ...
124+ @deprecated ("will be removed in SciPy v2.0.0" )
125+ def matrix_balance (
126+ A : object ,
127+ permute : object = ...,
128+ scale : object = ...,
129+ separate : object = ...,
130+ overwrite_a : object = ...,
131+ ) -> object : ...
132+ @deprecated ("will be removed in SciPy v2.0.0" )
133+ def matmul_toeplitz (
134+ c_or_cr : object | tuple [object , object ],
135+ x : object ,
136+ check_finite : object = ...,
137+ workers : object = ...,
138+ ) -> object : ...
0 commit comments