fq_nmod_mat_add, fq_nmod_mat_sub
Synopsis
#include <flint/fq_nmod_mat.h>void fq_nmod_mat_add(fq_nmod_mat_t C, const fq_nmod_mat_t A, const fq_nmod_mat_t B, const fq_nmod_ctx_t ctx)void fq_nmod_mat_sub(fq_nmod_mat_t C, const fq_nmod_mat_t A, const fq_nmod_mat_t B, const fq_nmod_ctx_t ctx)Set C to A + B, respectively A - B. All three matrices must have the same dimensions.
Generated from the same template as fq_mat_add, whose documentation has the details.
Cite this page
The FLINT team, “fq_nmod_mat_add, fq_nmod_mat_sub (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_add.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-mat-fq-nmod-mat-add,
author = {{The FLINT team}},
title = {{fq\_nmod\_mat\_add, fq\_nmod\_mat\_sub (fq\_nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_add.html},
note = {Generated 2026-10-20}
}