_arb_mat_companion, arb_mat_companion
Synopsis
#include <flint/arb_mat.h>void _arb_mat_companion(arb_mat_t mat, arb_srcptr poly, slong prec)sourcevoid arb_mat_companion(arb_mat_t mat, const arb_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, “_arb_mat_companion, arb_mat_companion (arb_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb_mat/_arb_mat_companion.html (generated 2026-10-20).
@misc{flint-doc-arb-mat-arb-mat-companion,
author = {{The FLINT team}},
title = {{\_arb\_mat\_companion, arb\_mat\_companion (arb\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb_mat/_arb_mat_companion.html},
note = {Generated 2026-10-20}
}