scipy.linalg.lapack.dppsv#

scipy.linalg.lapack.dppsv(n, ap, b, lower=0, overwrite_b=0) = <flapack function dppsv>#

Solve a positive definite system whose matrix is in packed storage, by Cholesky factorization (LAPACK dppsv).

Parameters:
nint

Order of the square matrix.

apndarray

The triangle named by lower, in packed storage: the n * (n + 1) / 2 elements of one triangle, column by column. A longer array is accepted and its tail ignored. Note that LAPACK factorizes in place, so ap is overwritten with the Cholesky factor even though it is declared an input.

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_bint, optional

If nonzero, b may be overwritten in place. Default is 0.

Returns:
xndarray

Solution of the system, overwriting b.

infoint

0 on success; if negative, the -info-th argument had an illegal value.