bundles / scipy latest / scipy / linalg / _flapack / cpttrs
lapack_function
scipy.linalg._flapack:cpttrs
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def cpttrs(d, e, b, lower = 0, overwrite_b = 0)Summary
Solve a positive definite tridiagonal system using the factorization from pttrf (LAPACK cpttrs).
Parameters
d: ndarrayDiagonal of
Dfrompttrf. Real for every flavor.e: ndarrayOff-diagonal of
Lfrompttrf.b: ndarrayRight-hand side(s) of shape
(n, nrhs).lower: int, optionalIf nonzero,
eis read as the subdiagonal ofL; otherwise as the superdiagonal ofU, which is its conjugate. Default is 0. Notepttrfwrites theLform, so reusing its output here needslower=1; the default silently solves a different system. The real flavors have no such argument, drawing no distinction between the two.overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
x: ndarraySolution of the system.
info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.cpttrs