FLINT3.7.0-dev

fmpz_mat_fmpz_vec_mul, fmpz_mat_fmpz_vec_mul_ptr

Synopsis#include <flint/fmpz_mat.h>
void fmpz_mat_fmpz_vec_mul(fmpz * c, const fmpz * a, slong alen, const fmpz_mat_t B)source
void fmpz_mat_fmpz_vec_mul_ptr(fmpz * const * c, const fmpz * const * a, slong alen, const fmpz_mat_t B)source

Sets the row vector c of length B->c to aB, where a is a row vector of length alen, truncated or zero-extended to the number of rows of B. The ptr variant takes arrays of pointers to the entries. c must not overlap a.

Cite this page

The FLINT team, “fmpz_mat_fmpz_vec_mul, fmpz_mat_fmpz_vec_mul_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_fmpz_vec_mul.html (generated 2026-10-20).