FLINT3.7.0-dev

fq_nmod_mat_concat_vertical, fq_nmod_mat_concat_horizontal

Synopsis#include <flint/fq_nmod_mat.h>
void fq_nmod_mat_concat_vertical(fq_nmod_mat_t res, const fq_nmod_mat_t mat1, const fq_nmod_mat_t mat2, const fq_nmod_ctx_t ctx)
void fq_nmod_mat_concat_horizontal(fq_nmod_mat_t res, const fq_nmod_mat_t mat1, const fq_nmod_mat_t mat2, const fq_nmod_ctx_t ctx)

Set res to the block matrix (AB)\begin{pmatrix} A \\ B \end{pmatrix}, respectively (A B)(A \ B), for AA = mat1 and BB = mat2. For vertical concatenation of an m×nm \times n and a k×nk \times n matrix, res must be (m+k)×n(m + k) \times n; for horizontal concatenation of an m×nm \times n and an m×km \times k matrix, m×(n+k)m \times (n + k).

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

Cite this page

The FLINT team, “fq_nmod_mat_concat_vertical, fq_nmod_mat_concat_horizontal (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_concat_vertical.html (generated 2026-11-02).