scipy.linalg.lapack.cgetrs#
- scipy.linalg.lapack.cgetrs(lu, piv, b, trans=0, overwrite_b=0) = <flapack function cgetrs>#
Solve a system already factorized by
getrf(LAPACKcgetrs).- Parameters:
- lundarray
Combined
LandUfactors, as returned bygetrf.- pivndarray
Pivot indices from
getrf, 0-based.- bndarray
Right-hand side(s) of shape
(n, nrhs).- transint, optional
System to solve: 0 for
a @ x = b, 1 fora.T @ x = b, 2 fora.conj().T @ x = b. Default is 0.- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.