_acb_mat_companion, acb_mat_companion
Synopsis
#include <flint/acb_mat.h>void _acb_mat_companion(acb_mat_t mat, acb_srcptr poly, slong prec)sourcevoid acb_mat_companion(acb_mat_t mat, const acb_poly_t poly, slong prec)sourceSet the n \times n matrix mat to the companion matrix of the polynomial of degree n (the underscore version reads n + 1 coefficients). If the leading coefficient cannot be inverted, the result is indeterminate. Wrappers of _gr_mat_companion and gr_mat_companion.
Cite this page
The FLINT team, “_acb_mat_companion, acb_mat_companion (acb_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_mat/_acb_mat_companion.html (generated 2026-10-20).
@misc{flint-doc-acb-mat-acb-mat-companion,
author = {{The FLINT team}},
title = {{\_acb\_mat\_companion, acb\_mat\_companion (acb\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_mat/_acb_mat_companion.html},
note = {Generated 2026-10-20}
}