scipy.linalg.lapack.dstev#
- scipy.linalg.lapack.dstev(d, e, compute_v=1, overwrite_d=0, overwrite_e=0) = <flapack function dstev>#
Compute the eigenvalues and optionally the eigenvectors of a symmetric tridiagonal matrix (LAPACK
dstev).- Parameters:
- dndarray
Diagonal elements of the symmetric tridiagonal matrix, length
n.- endarray
Off-diagonal elements, length
max(n - 1, 1).- compute_vint, optional
If nonzero, eigenvectors are computed. Default is 1.
- 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.
- Returns:
- valsndarray
Eigenvalues in ascending order, written over d.
- zndarray
Orthonormal eigenvectors as columns, shape
(n, n), or a(1, 1)placeholder when compute_v is 0.- infoint
0 on success; if negative, the
-info-th argument had an illegal value; if positive, the algorithm failed to converge.