scipy.linalg.lapack.cpptri#

scipy.linalg.lapack.cpptri(n, ap, lower=0, overwrite_ap=0) = <flapack function cpptri>#

Invert a positive definite matrix in packed storage from its Cholesky factorization (LAPACK cpptri).

Parameters:
nint

Order of the square matrix.

apndarray

Cholesky factorization in packed storage, as returned by pptrf.

lowerint, optional

If nonzero, the lower triangle of a is referenced and the factor is lower triangular; otherwise the upper. Default is 0.

overwrite_apint, optional

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

Returns:
ulindarray

The inverse in packed storage, overwriting ap.

infoint

0 on success; if negative, the -info-th argument had an illegal value.