FLINT3.7.0-dev

fmpz_mod_mat_mul_fmpz_vec, fmpz_mod_mat_mul_fmpz_vec_ptr

Synopsis#include <flint/fmpz_mod_mat.h>
void fmpz_mod_mat_mul_fmpz_vec(fmpz * c, const fmpz_mod_mat_t A, const fmpz * b, slong blen, const fmpz_mod_ctx_t ctx)source
void fmpz_mod_mat_mul_fmpz_vec_ptr(fmpz * const * c, const fmpz_mod_mat_t A, const fmpz * const * b, slong blen, const fmpz_mod_ctx_t ctx)source

Set the column vector cc, of length the number of rows of AA, to AbAb modulo nn, where bb is truncated or zero-extended to the number of columns of AA. The ptr variant takes arrays of pointers to the entries. bb may contain any integers; cc must not overlap bb. The products are computed exactly with fmpz_mat_mul_fmpz_vec and reduced.

Cite this page

The FLINT team, “fmpz_mod_mat_mul_fmpz_vec, fmpz_mod_mat_mul_fmpz_vec_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_mul_fmpz_vec.html (generated 2026-11-02).