bundles / scipy latest / scipy / linalg / _flapack / spttrf
lapack_function
scipy.linalg._flapack:spttrf
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def spttrf(d, e, overwrite_d = 0, overwrite_e = 0)Summary
Compute the L @ D @ L.conj().T factorization of a positive definite tridiagonal matrix (LAPACK spttrf).
Parameters
d: ndarrayDiagonal of the matrix, length
n. Real for every flavor.e: ndarrayOff-diagonal, length
max(0, n - 1).overwrite_d: int, optionalIf nonzero, d may be overwritten in place. Default is 0.
overwrite_e: int, optionalIf nonzero,
emay be overwritten in place. Default is 0.
Returns
d: ndarrayDiagonal of
D.e: ndarrayOff-diagonal of the unit bidiagonal
L.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the leading minor of order info is not positive definite.
Aliases
scipy.linalg._flapack.spttrf