scipy.linalg.lapack.zptsv#
- scipy.linalg.lapack.zptsv(d, e, b, overwrite_d=0, overwrite_e=0, overwrite_b=0) = <flapack function zptsv>#
Solve
a @ x = bfor a positive definite tridiagonalaby itsL @ D @ L.conj().Tfactorization (LAPACKzptsv).- Parameters:
- dndarray
Diagonal of the matrix, length
n. Real for every flavor.- endarray
Off-diagonal, length
max(0, n - 1).- bndarray
Right-hand side(s) of shape
(n, nrhs).- overwrite_dint, optional
If nonzero, d may be overwritten in place. Default is 0.
- overwrite_eint, optional
If nonzero, e may be overwritten in place. Default is 0.
- overwrite_bint, optional
If nonzero, b may be overwritten in place. Default is 0.
- Returns:
- dndarray
Diagonal of
Dfrom the factorization.- dundarray
Off-diagonal of
L, written over e.- xndarray
Solution of the system.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value; if positive, the leading minor of order info is not positive definite.