FLINT3.7.0-dev

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)source

Sets 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).