scipy.linalg.lapack.zposv#
- scipy.linalg.lapack.zposv(a, b, lower=0, overwrite_a=0, overwrite_b=0) = <flapack function zposv>#
Solve
a @ x = bfor a positive definiteaby Cholesky factorization (LAPACKzposv).- Parameters:
- andarray
Symmetric or Hermitian positive definite matrix of shape
(n, n).- bndarray
Right-hand side(s) of shape
(n, nrhs).- lowerint, optional
If nonzero, the lower triangle of a is referenced and the factor is lower triangular; otherwise the upper. Default is 0.
- 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:
- cndarray
Cholesky factor of a, in the selected triangle.
- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value; if positive, the leading minor of order info is not positive definite.