numpy.linalg.eigh — NumPy v1.22 Manual
numpy.org › doc › stableJun 22, 2021 · numpy.linalg.eigh¶ linalg. eigh (a, UPLO = 'L') [source] ¶ Return the eigenvalues and eigenvectors of a complex Hermitian (conjugate symmetric) or a real symmetric matrix. Returns two objects, a 1-D array containing the eigenvalues of a, and a 2-D square array or matrix (depending on the input type) of the corresponding eigenvectors (in columns).
numpy.linalg.eig — NumPy v1.22 Manual
numpy.org › doc › stableJun 22, 2021 · numpy.linalg.eig ¶. numpy.linalg.eig. ¶. Compute the eigenvalues and right eigenvectors of a square array. The eigenvalues, each repeated according to its multiplicity. The eigenvalues are not necessarily ordered. The resulting array will be of complex type, unless the imaginary part is zero in which case it will be cast to a real type.
numpy.linalg.eigvals — NumPy v1.22 Manual
numpy.org › doc › stablenumpy.linalg.eigvals. ¶. Compute the eigenvalues of a general matrix. Main difference between eigvals and eig: the eigenvectors aren’t returned. A complex- or real-valued matrix whose eigenvalues will be computed. The eigenvalues, each repeated according to its multiplicity.