FLINT3.7.0-dev

fq_mat_add, fq_mat_sub

Synopsis#include <flint/fq_mat.h>
void fq_mat_add(fq_mat_t C, const fq_mat_t A, const fq_mat_t B, const fq_ctx_t ctx)
void fq_mat_sub(fq_mat_t C, const fq_mat_t A, const fq_mat_t B, const fq_ctx_t ctx)

Set C to A + B, respectively A - B. All three matrices must have the same dimensions.

Cite this page

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