scipy.linalg.lapack.ssytri#
- scipy.linalg.lapack.ssytri(a, ipiv, lower=0, overwrite_a=0) = <flapack function ssytri>#
Invert a symmetric indefinite matrix from the factorization computed by
sytrf(LAPACKssytri).- Parameters:
- andarray
The factorization, as returned by the corresponding
*trf.- ipivndarray
Pivot indices from the Bunch-Kaufman factorization, 1-based exactly as
sytrf/hetrfreturned them – this group shifts at neither end.- lowerint, optional
If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.
- overwrite_aint, optional
If nonzero, a may be overwritten in place. Default is 0.
- Returns:
- inv_andarray
The inverse, stored in the selected triangle only; the opposite triangle is left as it was.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value; if positive,d[info-1, info-1]is zero and the inverse does not exist.