pytorch/docs/source/linalg.rst
Ivan Yashchuk c1430c3425 Add torch.linalg.inv_ex without checking for errors by default (#58039)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/58039

The new function has the following signature
`inv_ex(Tensor inpit, *, bool check_errors=False) -> (Tensor inverse, Tensor info)`.
When `check_errors=True`, an error is thrown if the matrix is not invertible; `check_errors=False` - responsibility for checking the result is on the user.

`linalg_inv` is implemented using calls to `linalg_inv_ex` now.

Resolves https://github.com/pytorch/pytorch/issues/25095

Test Plan: Imported from OSS

Reviewed By: ngimel

Differential Revision: D28405148

Pulled By: mruberry

fbshipit-source-id: b8563a6c59048cb81e206932eb2f6cf489fd8531
2021-05-13 09:42:15 -07:00

92 lines
1.1 KiB
ReStructuredText

.. role:: hidden
:class: hidden-section
torch.linalg
============
Common linear algebra operations.
.. automodule:: torch.linalg
.. currentmodule:: torch.linalg
Matrix Properties
-----------------
.. autosummary::
:toctree: generated
:nosignatures:
norm
vector_norm
matrix_norm
det
slogdet
cond
matrix_rank
Decompositions
--------------
.. autosummary::
:toctree: generated
:nosignatures:
cholesky
qr
eig
eigvals
eigh
eigvalsh
svd
svdvals
Solvers
-------
.. autosummary::
:toctree: generated
:nosignatures:
solve
lstsq
Inverses
--------
.. autosummary::
:toctree: generated
:nosignatures:
inv
pinv
Matrix Products
---------------
.. autosummary::
:toctree: generated
:nosignatures:
matrix_power
multi_dot
householder_product
Tensor Operations
-----------------
.. autosummary::
:toctree: generated
:nosignatures:
tensorinv
tensorsolve
Experimental Functions
----------------------
.. autosummary::
:toctree: generated
:nosignatures:
cholesky_ex
inv_ex