jax.scipy.linalg.inv
Warning
This page was created from a pull request (#9655).
jax.scipy.linalg.invΒΆ
- jax.scipy.linalg.inv(a, overwrite_a=False, check_finite=True)[source]ΒΆ
Compute the inverse of a matrix.
LAX-backend implementation of
inv()
.Original docstring below.
- Parameters
a (array_like) β Square matrix to be inverted.
overwrite_a (bool, optional) β Discard data in a (may improve performance). Default is False.
check_finite (bool, optional) β Whether to check that the input matrix contains only finite numbers. Disabling may give a performance gain, but may result in problems (crashes, non-termination) if the inputs do contain infinities or NaNs.
- Returns
ainv β Inverse of the matrix a.
- Return type