ca_mat_eigenvalues
Synopsis
#include <flint/ca_mat.h>Computes the distinct eigenvalues of the square matrix mat, in no particular order, with their algebraic multiplicities in exp (room for n entries), and returns 1; returns 0 on failure, leaving the outputs unspecified. The eigenvalues are the roots of the characteristic polynomial computed by ca_poly_roots, so the limitations of that function apply: in particular, a matrix with rational entries always succeeds, with eigenvalues that are algebraic numbers.
Cite this page
The FLINT team, “ca_mat_eigenvalues (ca_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_mat/ca_mat_eigenvalues.html (generated 2026-10-20).
@misc{flint-doc-ca-mat-ca-mat-eigenvalues,
author = {{The FLINT team}},
title = {{ca\_mat\_eigenvalues (ca\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca_mat/ca_mat_eigenvalues.html},
note = {Generated 2026-10-20}
}