FLINT3.7.0-dev

fq_get_fmpz_mod_mat, fq_set_fmpz_mod_mat

Synopsis#include <flint/fq.h>
void fq_get_fmpz_mod_mat(fmpz_mod_mat_t col, const fq_t a, const fq_ctx_t ctx)source
void fq_set_fmpz_mod_mat(fq_t a, const fmpz_mod_mat_t col, const fq_ctx_t ctx)source

Convert between a and the column vector of its coefficients (a_0, \ldots, a_{d-1})^T with respect to the basis 1, x, \ldots, x^{d-1}. col must be a d \times 1 matrix over \mathbb{F}_p with reduced entries.

Cite this page

The FLINT team, “fq_get_fmpz_mod_mat, fq_set_fmpz_mod_mat (fq.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq/fq_get_fmpz_mod_mat.html (generated 2026-10-20).