scipy.linalg.lapack.cgttrs#
- scipy.linalg.lapack.cgttrs(dl, d, du, du2, ipiv, b, trans='N', overwrite_b=0) = <flapack function cgttrs>#
Solve a tridiagonal system using the factorization from
gttrf(LAPACKcgttrs).- Parameters:
- dlndarray
Multipliers defining
L, as returned bygttrf.- dndarray
Diagonal of
U, as returned bygttrf.- dundarray
First superdiagonal of
U, as returned bygttrf.- du2ndarray
Second superdiagonal of
U, as returned bygttrf.- ipivndarray
Pivot indices from
gttrf, 1-based.- bndarray
Right-hand side(s) of shape
(n, nrhs).- transstr, optional
'N','T'or'C'for the system, its transpose, or its conjugate transpose. Default is'N'.- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.