bundles / scipy latest / scipy / linalg / _flapack / sgttrs
lapack_function
scipy.linalg._flapack:sgttrs
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def sgttrs(dl, d, du, du2, ipiv, b, trans = N, overwrite_b = 0)Summary
Solve a tridiagonal system using the factorization from gttrf (LAPACK sgttrs).
Parameters
dl: ndarrayMultipliers defining
L, as returned bygttrf.d: ndarrayDiagonal of
U, as returned bygttrf.du: ndarrayFirst superdiagonal of
U, as returned bygttrf.du2: ndarraySecond superdiagonal of
U, as returned bygttrf.ipiv: ndarrayPivot indices from
gttrf, 1-based.b: ndarrayRight-hand side(s) of shape
(n, nrhs).trans: str, optional'N','T'or'C'for the system, its transpose, or its conjugate transpose. Default is'N'.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.sgttrs