diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-23 16:57:09 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-26 13:47:17 +0200 |
commit | 775d243be65f36564580ed5fcf038f384c61ce4d (patch) | |
tree | 9a4b1ec028fdf1f274cc9d17eeb37d81349ba564 /numpy | |
parent | 65a3e7d2d07844ec20aaba5912798ec27a3662f4 (diff) | |
download | numpy-775d243be65f36564580ed5fcf038f384c61ce4d.tar.gz |
ENH: Add improved placeholder annotations for `np.linalg`
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/linalg/__init__.pyi | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/numpy/linalg/__init__.pyi b/numpy/linalg/__init__.pyi index 39b061969..5080019f4 100644 --- a/numpy/linalg/__init__.pyi +++ b/numpy/linalg/__init__.pyi @@ -2,24 +2,25 @@ from typing import Any, List __all__: List[str] -matrix_power: Any -solve: Any -tensorsolve: Any -tensorinv: Any -inv: Any -cholesky: Any -eigvals: Any -eigvalsh: Any -pinv: Any -slogdet: Any -det: Any -svd: Any -eig: Any -eigh: Any -lstsq: Any -norm: Any -qr: Any -cond: Any -matrix_rank: Any -LinAlgError: Any -multi_dot: Any +class LinAlgError(Exception): ... + +def tensorsolve(a, b, axes=...): ... +def solve(a, b): ... +def tensorinv(a, ind=...): ... +def inv(a): ... +def matrix_power(a, n): ... +def cholesky(a): ... +def qr(a, mode=...): ... +def eigvals(a): ... +def eigvalsh(a, UPLO=...): ... +def eig(a): ... +def eigh(a, UPLO=...): ... +def svd(a, full_matrices=..., compute_uv=..., hermitian=...): ... +def cond(x, p=...): ... +def matrix_rank(M, tol=..., hermitian=...): ... +def pinv(a, rcond=..., hermitian=...): ... +def slogdet(a): ... +def det(a): ... +def lstsq(a, b, rcond=...): ... +def norm(x, ord=..., axis=..., keepdims=...): ... +def multi_dot(arrays, *, out=...): ... |