bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / spftrs
lapack_function
scipy.linalg._flapack:spftrs
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def spftrs(n, a, b, transr = N, uplo = U, overwrite_b = 0)Summary
Solve a positive definite system in rectangular full packed (RFP) storage using a Cholesky factorization already computed by pftrf (LAPACK spftrs).
Parameters
n: intOrder of the square matrix.
a: ndarrayCholesky factorization in RFP storage, as returned by
pftrf.b: ndarrayRight-hand side(s). It may have more than
nrows; only the leadingnare read.transr: str, optional'N'for the normal RFP layout,'T'for the transposed one. Default is'N'.uplo: str, optional'U'ifaholds the upper triangle,'L'if lower. Default is'U'.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.spftrs