scipy.linalg.lapack.cgesv#
- scipy.linalg.lapack.cgesv(a, b, overwrite_a=0, overwrite_b=0) = <flapack function cgesv>#
Solve
a @ x = bby LU factorization with partial pivoting (LAPACKcgesv).- Parameters:
- andarray
Square matrix of shape
(n, n).- bndarray
Right-hand side(s) of shape
(n, nrhs).- overwrite_aint, optional
If nonzero, a may be overwritten in place. Default is 0.
- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- lundarray
Combined
LandUfactors; the unit diagonal ofLis not stored.- pivndarray
Pivot indices, 0-based: row
iwas interchanged with rowpiv[i].- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value; if positive,u[info-1, info-1]is exactly zero and the factor is singular.