gr_mat_minpoly_field
Synopsis
#include <flint/gr_mat.h>Sets res to the minimal polynomial of a square matrix over a field, by computing the minimal polynomials of Krylov sequences v, Av, A^2 v, \ldots of unit vectors with incremental Gaussian elimination (gr_mat_reduce_row) and taking their least common multiple, with O(n^3) field operations. See Minimal polynomial.
Cite this page
The FLINT team, “gr_mat_minpoly_field (gr_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_mat/gr_mat_minpoly_field.html (generated 2026-10-20).
@misc{flint-doc-gr-mat-gr-mat-minpoly-field,
author = {{The FLINT team}},
title = {{gr\_mat\_minpoly\_field (gr\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mat/gr_mat_minpoly_field.html},
note = {Generated 2026-10-20}
}