scipy.linalg.lapack.dptsv#

scipy.linalg.lapack.dptsv(d, e, b, overwrite_d=0, overwrite_e=0, overwrite_b=0) = <flapack function dptsv>#

Solve a @ x = b for a positive definite tridiagonal a by its L @ D @ L.conj().T factorization (LAPACK dptsv).

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 D from 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.