scipy.linalg.lapack.dpotrs#

scipy.linalg.lapack.dpotrs(c, b, lower=0, overwrite_b=0) = <flapack function dpotrs>#

Solve a positive definite system using the factorization from potrf (LAPACK dpotrs).

Parameters:
cndarray

Cholesky factor, as returned by potrf.

bndarray

Right-hand side(s) of shape (n, nrhs).

lowerint, optional

If nonzero, c is the lower triangular factor; otherwise the upper. Must match what was passed to potrf. 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.