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

bundles / scipy latest / scipy / linalg / _flapack / sstev

lapack_function

scipy.linalg._flapack:sstev

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

Signature

def sstev(d, e, compute_v = 1, overwrite_d = 0, overwrite_e = 0)

Summary

Compute the eigenvalues and optionally the eigenvectors of a symmetric tridiagonal matrix (LAPACK sstev).

Parameters

d : ndarray

Diagonal elements of the symmetric tridiagonal matrix, length n.

e : ndarray

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

compute_v : int, optional

If nonzero, eigenvectors are computed. Default is 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

vals : ndarray

Eigenvalues in ascending order, written over d.

z : ndarray

Orthonormal eigenvectors as columns, shape (n, n), or a (1, 1) placeholder when compute_v is 0.

info : int

0 on success; if negative, the -info-th argument had an illegal value; if positive, the algorithm failed to converge.

Aliases

  • scipy.linalg._flapack.sstev