scipy.linalg.lapack.dpotri#

scipy.linalg.lapack.dpotri(c, lower=0, overwrite_c=0) = <flapack function dpotri>#

Invert a positive definite matrix from the factorization computed by potrf (LAPACK dpotri).

Parameters:
cndarray

Cholesky factor, as returned by potrf.

lowerint, optional

If nonzero, c is the lower triangular factor; otherwise the upper. Must match what was passed to potrf. Default is 0.

overwrite_cint, optional

If nonzero, c 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 in c.

infoint

0 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.