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 c of length A->r to Ab, where b is a column vector of length blen. If blen differs from the number of columns of A, the vector is truncated or zero-extended to that length. The ptr variant takes arrays of pointers to the entries. c must not overlap b.

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-10-20).