This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dpotri

lapack_function

scipy.linalg._flapack:dpotri

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def dpotri(c, lower = 0, overwrite_c = 0)

Summary

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

Parameters

c : ndarray

Cholesky factor, as returned by potrf.

lower : int, optional

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

overwrite_c : int, optional

If nonzero, c may be overwritten in place. Default is 0.

Returns

inv_a : ndarray

The inverse, stored in the selected triangle only; the opposite triangle is left as it was in c.

info : int

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.

Aliases

  • scipy.linalg._flapack.dpotri