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

bundles / scipy latest / scipy / linalg / _flapack / zhetrd

lapack_function

scipy.linalg._flapack:zhetrd

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

Summary

Reduce a Hermitian matrix to real symmetric tridiagonal form by a unitary similarity transformation (LAPACK zhetrd).

Parameters

a : ndarray

Hermitian matrix of shape (n, n).

lower : int, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

lwork : int, optional

Size of the workspace. Default is max(n, 1). Use zhetrd_lwork for the optimal value.

overwrite_a : int, optional

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

Returns

c : ndarray

The tridiagonal form together with the elementary reflectors that produced it, packed into a.

d : ndarray

Diagonal of the tridiagonal form, length n. Real for every flavor.

e : ndarray

Off-diagonal, length n - 1. Real for every flavor.

tau : ndarray

Scalar factors of the elementary reflectors that define Q.

info : int

0 on success; if negative, the -info-th argument had an illegal value.

Aliases

  • scipy.linalg._flapack.zhetrd