bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dposvx
lapack_function
scipy.linalg._flapack:dposvx
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dposvx(a, b, fact = E, af = None, equed = Y, s = None, lower = 0, overwrite_a = 0, overwrite_b = 0)Summary
Solve a @ x = b for a positive definite a with equilibration, condition estimation and error bounds (LAPACK dposvx).
Parameters
a: ndarraySymmetric or Hermitian positive definite matrix of shape
(n, n).b: ndarrayRight-hand side(s) of shape
(n, nrhs).fact: str, optional'E'to equilibrate then factorize,'N'to factorize as given,'F'to reuse theaf,equedandssupplied. Default is'E'.af: ndarray, optionalCholesky factor to reuse when
fact='F'; otherwise it is computed.equed: str, optionalEquilibration already applied when
fact='F':'N'or'Y'. Otherwise it is an output. Default is'Y'.s: ndarray, optionalScale factors, used when
fact='F'andequedis'Y'.lower: int, optionalIf nonzero, the lower triangle of
ais referenced and the factor is lower triangular; otherwise the upper. Default is 0.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
a_s: ndarraya, equilibrated ifequedisb'Y'.lu: ndarrayCholesky factor of the equilibrated matrix.
equed: bytesEquilibration actually applied:
b'N'orb'Y'.s: ndarrayScale factors.
b_s: ndarrayb, scaled to match the equilibrated system.x: ndarraySolution of the system.
rcond: floatEstimate of the reciprocal condition number of the equilibrated matrix.
ferr: ndarrayEstimated forward error bound for each solution vector.
berr: ndarrayComponentwise relative backward error of each solution vector.
info: int0 on success; if negative, the
-info-th argument had an illegal value; if0 < info <= n, the leading minor of order info is not positive definite; ifinfo = n+1, the matrix is singular to working precision and x may be inaccurate.
Aliases
scipy.linalg._flapack.dposvx