FLINT3.7.0-dev

fmpz_mat_mul_fmpz_vec, fmpz_mat_mul_fmpz_vec_ptr

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_mul_fmpz_vec(fmpz * c, const fmpz_mat_t A, const fmpz * b, slong blen)source
void fmpz_mat_mul_fmpz_vec_ptr(fmpz * const * c, const fmpz_mat_t A, const fmpz * const * b, slong blen)source

Sets the column vector cc of length A->r to AbAb, where bb is a column vector of length blen. If blen differs from the number of columns of AA, the vector is truncated or zero-extended to that length. The ptr variant takes arrays of pointers to the entries. cc must not overlap bb.

Cite this page

The FLINT team, “fmpz_mat_mul_fmpz_vec, fmpz_mat_mul_fmpz_vec_ptr (fmpz_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mat/fmpz_mat_mul_fmpz_vec.html (generated 2026-11-02).