bundles / scipy latest / scipy / linalg / _flapack / spptrs
lapack_function
scipy.linalg._flapack:spptrs
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def spptrs(n, ap, b, lower = 0, overwrite_b = 0)Summary
Solve a positive definite system in packed storage using a Cholesky factorization already computed by pptrf (LAPACK spptrs).
Parameters
n: intOrder of the square matrix.
ap: ndarrayCholesky factorization in packed storage, as returned by
pptrf.b: ndarrayRight-hand side(s) of shape
(n, nrhs).lower: int, optionalIf nonzero, the lower triangle of
ais referenced and the factor is lower triangular; otherwise the upper. Default is 0.overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
x: ndarraySolution of the system, overwriting b.
info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.spptrs