fq_zech_embed_trace_matrix
#include <flint/fq_zech_embed.h>void fq_zech_embed_trace_matrix(nmod_mat_t res, const nmod_mat_t basis, const fq_zech_ctx_t sub_ctx, const fq_zech_ctx_t sup_ctx)Given contexts for k = sub_ctx and K = sup_ctx of degrees m \mid n and the n \times m matrix basis of an embedding \varphi: k \to K, sets res to the m \times n matrix of the map y \mapsto \varphi^{-1}(\operatorname{Tr}_{K/\varphi(k)}(y)). It is computed as D_k \cdot \mathit{basis}^T \cdot M_K, with D_k = fq_zech_embed_dual_to_mono_matrix for k and M_K = fq_zech_embed_mono_to_dual_matrix for K. For m = n the result is the inverse of basis.
Generated from the same template as fq_embed_trace_matrix, whose documentation has the details.
The FLINT team, “fq_zech_embed_trace_matrix (fq_zech_embed.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_zech_embed/fq_zech_embed_trace_matrix.html (generated 2026-10-20).
@misc{flint-doc-fq-zech-embed-fq-zech-embed-trace-matrix,
author = {{The FLINT team}},
title = {{fq\_zech\_embed\_trace\_matrix (fq\_zech\_embed.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_zech_embed/fq_zech_embed_trace_matrix.html},
note = {Generated 2026-10-20}
}