Skip to content

eigh

Module: strata.core • Kind: function
Source: strata/core/linalg.mojo

def eigh[dtype: DType = DType.float64](
A: Matrix[dtype],
UPLO: String = "L",
) -> EigResult[dtype]
from strata.core import eigh

Computes the eigenvalues and eigenvectors of a real symmetric matrix.

Uses LAPACK’s divide-and-conquer algorithm (dsyevd / ssyevd).