ca_mat_companion
Synopsis
#include <flint/ca_mat.h>Sets A to the companion matrix of poly and returns 1, or returns 0 if the leading coefficient of poly is not proved nonzero or A does not have size \deg(\mathit{poly}). Wrapper of gr_mat_companion.
Cite this page
The FLINT team, “ca_mat_companion (ca_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca_mat/ca_mat_companion.html (generated 2026-10-20).
@misc{flint-doc-ca-mat-ca-mat-companion,
author = {{The FLINT team}},
title = {{ca\_mat\_companion (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_companion.html},
note = {Generated 2026-10-20}
}