FLINT3.7.0-dev

fq_nmod_mat_zero, fq_nmod_mat_one

Synopsis#include <flint/fq_nmod_mat.h>
void fq_nmod_mat_zero(fq_nmod_mat_t A, const fq_nmod_ctx_t ctx)
void fq_nmod_mat_one(fq_nmod_mat_t A, const fq_nmod_ctx_t ctx)

Set A to the zero matrix, respectively to the matrix with ones on the main diagonal and zeros elsewhere (also for non-square A).

Generated from the same template as fq_mat_zero, whose documentation has the details.

Cite this page

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