bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / sppsv
lapack_function
scipy.linalg._flapack:sppsv
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def sppsv(n, ap, b, lower = 0, overwrite_b = 0)Summary
Solve a positive definite system whose matrix is in packed storage, by Cholesky factorization (LAPACK sppsv).
Parameters
n: intOrder of the square matrix.
ap: ndarrayThe triangle named by
lower, in packed storage: then * (n + 1) / 2elements of one triangle, column by column. A longer array is accepted and its tail ignored. Note that LAPACK factorizes in place, soapis overwritten with the Cholesky factor even though it is declared an input.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.sppsv