This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / zptsv

lapack_function

scipy.linalg._flapack:zptsv

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def zptsv(d, e, b, overwrite_d = 0, overwrite_e = 0, overwrite_b = 0)

Summary

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

Parameters

d : ndarray

Diagonal of the matrix, length n. Real for every flavor.

e : ndarray

Off-diagonal, length max(0, n - 1).

b : ndarray

Right-hand side(s) of shape (n, nrhs).

overwrite_d : int, optional

If nonzero, d may be overwritten in place. Default is 0.

overwrite_e : int, optional

If nonzero, e may be overwritten in place. Default is 0.

overwrite_b : int, optional

If nonzero, b may be overwritten in place. Default is 0.

Returns

d : ndarray

Diagonal of D from the factorization.

du : ndarray

Off-diagonal of L, written over e.

x : ndarray

Solution of the system.

info : int

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.

Aliases

  • scipy.linalg._flapack.zptsv