10#include "backends/lapack/impl.hpp"
11#include "backends/omp/impl.hpp"
12#include "backends/seq/impl.hpp"
Dense row-major matrix with optional GPU storage.
Full symmetric eigendecomposition via cyclic Jacobi sweeps.
EigenResult eig_sym(const Matrix &A)
EigenResult eig_sym(const Matrix &A, real tol, idx max_sweeps)
EigenResult eig_sym(const Matrix &A, real tol, idx max_sweeps)
Backend
Selects which backend handles a linalg operation.
@ omp
OpenMP parallel blocked loops.
@ lapack
LAPACKE – industry-standard factorizations, SVD, eigen.
EigenResult eig_sym(const Matrix &A, real tol=1e-12, idx max_sweeps=100, Backend backend=lapack_backend)
Full eigendecomposition of a real symmetric matrix.
Full eigendecomposition result: A = V * diag(values) * V^T.