FLINT3.7.0-dev

fmpz_mat_concat_horizontal, fmpz_mat_concat_vertical

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_concat_horizontal(fmpz_mat_t res, const fmpz_mat_t mat1, const fmpz_mat_t mat2)source
void fmpz_mat_concat_vertical(fmpz_mat_t res, const fmpz_mat_t mat1, const fmpz_mat_t mat2)source

Sets res to mat1 placed to the left of, respectively above, mat2. For an m \times n matrix mat1, mat2 must be m \times k and res m \times (n + k), respectively mat2 k \times n and res (m + k) \times n. Wrappers of gr_mat_concat_horizontal and gr_mat_concat_vertical.

Cite this page

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