bundles / scipy latest / 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: ndarraySquare triangular matrix; only the triangle named by
loweris read.lower: int, optionalIf nonzero,
cis lower triangular; otherwise upper. Default is 0.unitdiag: int, optionalIf nonzero, the matrix is treated as having a unit diagonal and the stored diagonal is not referenced. Default is 0.
overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
inv_c: ndarrayThe inverse, overwriting
c.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.dtrtri