This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / cpotri

lapack_function

scipy.linalg._flapack:cpotri

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

Signature

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

Summary

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

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