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

bundles / scipy latest / scipy / linalg / _flapack / zpttrf

lapack_function

scipy.linalg._flapack:zpttrf

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

Signature

def zpttrf(d, e, overwrite_d = 0, overwrite_e = 0)

Summary

Compute the L @ D @ L.conj().T factorization of a positive definite tridiagonal matrix (LAPACK zpttrf).

Parameters

d : ndarray

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

e : ndarray

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

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.

Returns

d : ndarray

Diagonal of D.

e : ndarray

Off-diagonal of the unit bidiagonal L.

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.zpttrf