FLINT3.7.0-dev

fmpz_mod_mat_fmpz_vec_mul, fmpz_mod_mat_fmpz_vec_mul_ptr

Synopsis#include <flint/fmpz_mod_mat.h>
void fmpz_mod_mat_fmpz_vec_mul(fmpz * c, const fmpz * a, slong alen, const fmpz_mod_mat_t B, const fmpz_mod_ctx_t ctx)source
void fmpz_mod_mat_fmpz_vec_mul_ptr(fmpz * const * c, const fmpz * const * a, slong alen, const fmpz_mod_mat_t B, const fmpz_mod_ctx_t ctx)source

Set the row vector c, of length the number of columns of B, to aB modulo n, where a is truncated or zero-extended to the number of rows of B. As above, a may contain any integers and c must not overlap a.

Cite this page

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