fn
lapack_eigh_f32
void lapack_eigh_f32(const float * A, int n, float * w, float * V_out, int * info)Symmetric eigendecomposition (float32) via divide-and-conquer.
For a real symmetric input , computes the spectral decomposition . Eigenvalues are produced in ascending order and eigenvectors are the columns of (returned row-major after transposition).
Math
References
LAPACK ssyevd_.
Parameters
Aconst float*Row-major symmetric matrix.
nintSide length.
wfloat*Eigenvalues, length (ascending).
V_outfloat*Row-major matrix whose columns are the eigenvectors.
infoint*LAPACK status word.