fq_embed_composition_matrix, fq_embed_composition_matrix_sub
Synopsis
#include <flint/fq_embed.h>void fq_embed_composition_matrix(fmpz_mod_mat_t matrix, const fq_t gen, const fq_ctx_t ctx)void fq_embed_composition_matrix_sub(fmpz_mod_mat_t matrix, const fq_t gen, const fq_ctx_t ctx, slong trunc)Set matrix to the composition matrix of the element a = gen of a field of degree d: the d \times d matrix whose columns are the coordinates of a^0, a^1, \ldots, a^{d-1}, which maps the coordinates of a polynomial g of degree less than d to those of g(a). The _sub version computes only the first trunc \le d columns, into a d \times \mathit{trunc} matrix.
Cite this page
The FLINT team, “fq_embed_composition_matrix, fq_embed_composition_matrix_sub (fq_embed.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_embed/fq_embed_composition_matrix.html (generated 2026-10-20).
@misc{flint-doc-fq-embed-fq-embed-composition-matrix,
author = {{The FLINT team}},
title = {{fq\_embed\_composition\_matrix, fq\_embed\_composition\_matrix\_sub (fq\_embed.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_embed/fq_embed_composition_matrix.html},
note = {Generated 2026-10-20}
}