scipy.linalg.lapack.spptrs#
- scipy.linalg.lapack.spptrs(n, ap, b, lower=0, overwrite_b=0) = <flapack function spptrs>#
Solve a positive definite system in packed storage using a Cholesky factorization already computed by
pptrf(LAPACKspptrs).- Parameters:
- nint
Order of the square matrix.
- apndarray
Cholesky factorization in packed storage, as returned by
pptrf.- 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.