Function eigvalsh

Source
pub fn eigvalsh(a: impl AsRef<Array>, uplo: Option<&str>) -> Result<Array>
Expand description

Compute the eigenvalues of a complex Hermitian or real symmetric matrix.

This function supports arrays with at least 2 dimensions. When the input has more than two dimensions, the eigenvalues are computed for each matrix in the last two dimensions.