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 = gen of a field of degree : the matrix whose columns are the coordinates of , which maps the coordinates of a polynomial of degree less than to those of . The _sub version computes only the first trunc columns, into a 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-11-02).
@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-11-02}
}