bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / spotri
lapack_function
scipy.linalg._flapack:spotri
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def spotri(c, lower = 0, overwrite_c = 0)Summary
Invert a positive definite matrix from the factorization computed by potrf (LAPACK spotri).
Parameters
c: ndarrayCholesky factor, as returned by
potrf.lower: int, optionalIf nonzero,
cis the lower triangular factor; otherwise the upper. Must match what was passed topotrf. Default is 0.overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
inv_a: ndarrayThe inverse, stored in the selected triangle only; the opposite triangle is left as it was in
c.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive,c[info-1, info-1]is zero and the inverse does not exist.
Aliases
scipy.linalg._flapack.spotri