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 / dtrtri

lapack_function

scipy.linalg._flapack:dtrtri

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

Signature

def dtrtri(c, lower = 0, unitdiag = 0, overwrite_c = 0)

Summary

Invert a triangular matrix (LAPACK dtrtri).

Parameters

c : ndarray

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

lower : int, optional

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

unitdiag : int, optional

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

overwrite_c : int, optional

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

Returns

inv_c : ndarray

The inverse, overwriting c.

info : int

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

Aliases

  • scipy.linalg._flapack.dtrtri