scipy.linalg.lapack.ztrtrs#
- scipy.linalg.lapack.ztrtrs(a, b, lower=0, trans=0, unitdiag=0, lda=a.shape[0], overwrite_b=0) = <flapack function ztrtrs>#
Solve a triangular system (LAPACK
ztrtrs).- Parameters:
- andarray
Triangular matrix; only the triangle named by lower is read.
- bndarray
Right-hand side(s) of shape
(n, nrhs).- lowerint, optional
If nonzero, a is lower triangular; otherwise upper. Default is 0.
- transint, optional
System to solve: 0 for
a @ x = b, 1 fora.T @ x = b, 2 fora.conj().T @ x = b. 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.
- ldaint, optional
Leading dimension of a. It must equal
a.shape[0]; the argument exists only because the.pyfexposed it. Default isa.shape[0].- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- xndarray
Solution of the system, overwriting b.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.