FLINT3.7.0-dev

fq_mat_mul_vec, fq_mat_mul_vec_ptr

Synopsis#include <flint/fq_mat.h>
void fq_mat_mul_vec(fq_struct * c, const fq_mat_t A, const fq_struct * b, slong blen, const fq_ctx_t ctx)
void fq_mat_mul_vec_ptr(fq_struct * const * c, const fq_mat_t A, const fq_struct * const * b, slong blen, const fq_ctx_t ctx)

Set the vector cc to the matrix-vector product AbAb. The vector (b, blen) is truncated or extended by zeros to the number of columns of AA, and cc receives as many entries as AA has rows. The _ptr version takes arrays of pointers to the entries. cc must not alias bb.

Cite this page

The FLINT team, “fq_mat_mul_vec, fq_mat_mul_vec_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_mul_vec.html (generated 2026-11-02).