bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / cptsvx
lapack_function
scipy.linalg._flapack:cptsvx
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def cptsvx(d, e, b, fact = N, df = None, ef = None)Summary
Solve a positive definite tridiagonal system with condition estimation and error bounds (LAPACK cptsvx).
Parameters
d: ndarrayDiagonal of the matrix, length
n. Real for every flavor.e: ndarrayOff-diagonal, length
max(0, n - 1).b: ndarrayRight-hand side(s) of shape
(n, nrhs).fact: str, optional'N'to factorize the matrix,'F'to reuse thedfandefsupplied. Default is'N'.df: ndarray, optionalDiagonal of
Dto reuse whenfact='F'; otherwise computed. Real for every flavor.ef: ndarray, optionalOff-diagonal of
Lto reuse whenfact='F'; otherwise computed.
Returns
df: ndarrayDiagonal of
D.ef: ndarrayOff-diagonal of
L.x: ndarraySolution of the system.
rcond: floatEstimate of the reciprocal condition number.
ferr: ndarrayEstimated forward error bound for each solution vector.
berr: ndarrayComponentwise relative backward error of each solution vector.
info: int0 on success; if negative, the
-info-th argument had an illegal value; if0 < info <= n, the leading minor of order info is not positive definite; ifinfo = n+1, the matrix is singular to working precision and x may be inaccurate.
Aliases
scipy.linalg._flapack.cptsvx