FLINT3.7.0-dev

fq_mat_vec_mul, fq_mat_vec_mul_ptr

Synopsis#include <flint/fq_mat.h>
void fq_mat_vec_mul(fq_struct * c, const fq_struct * a, slong alen, const fq_mat_t B, const fq_ctx_t ctx)
void fq_mat_vec_mul_ptr(fq_struct * const * c, const fq_struct * const * a, slong alen, const fq_mat_t B, const fq_ctx_t ctx)

Set the vector cc to the vector-matrix product aBaB. The vector (a, alen) is truncated or extended by zeros to the number of rows of BB, and cc receives as many entries as BB has columns. cc must not alias aa.

Cite this page

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