nf_elem_rep_mat
Synopsis
#include <flint/nf_elem.h>void nf_elem_rep_mat(fmpq_mat_t res, const nf_elem_t a, const nf_t nf)sourceSets the d \times d matrix res to the matrix of multiplication by a with respect to the basis 1, \theta, \ldots, \theta^{d-1}, in the row convention: row j holds the coordinates of \theta^j a.
Cite this page
The FLINT team, “nf_elem_rep_mat (nf_elem.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf_elem/nf_elem_rep_mat.html (generated 2026-10-20).
@misc{flint-doc-nf-elem-nf-elem-rep-mat,
author = {{The FLINT team}},
title = {{nf\_elem\_rep\_mat (nf\_elem.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nf_elem/nf_elem_rep_mat.html},
note = {Generated 2026-10-20}
}