FLINT3.7.0-dev

fq_nmod_mat_mul_vec, fq_nmod_mat_mul_vec_ptr

Synopsis#include <flint/fq_nmod_mat.h>
void fq_nmod_mat_mul_vec(fq_nmod_struct * c, const fq_nmod_mat_t A, const fq_nmod_struct * b, slong blen, const fq_nmod_ctx_t ctx)
void fq_nmod_mat_mul_vec_ptr(fq_nmod_struct * const * c, const fq_nmod_mat_t A, const fq_nmod_struct * const * b, slong blen, const fq_nmod_ctx_t ctx)

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

Generated from the same template as fq_mat_mul_vec, whose documentation has the details.

Cite this page

The FLINT team, “fq_nmod_mat_mul_vec, fq_nmod_mat_mul_vec_ptr (fq_nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mat/fq_nmod_mat_mul_vec.html (generated 2026-10-20).