scipy.linalg.lapack.dtrtri#

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

Invert a triangular matrix (LAPACK dtrtri).

Parameters:
cndarray

Square triangular matrix; only the triangle named by lower is read.

lowerint, optional

If nonzero, c is lower triangular; otherwise upper. Default is 0.

unitdiagint, optional

If nonzero, the matrix is treated as having a unit diagonal and the stored diagonal is not referenced. Default is 0.

overwrite_cint, optional

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

Returns:
inv_cndarray

The inverse, overwriting c.

infoint

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