nmod_mat_mul_nmod_vec, nmod_mat_mul_nmod_vec_ptr
Synopsis
#include <flint/nmod_mat.h>void nmod_mat_mul_nmod_vec(ulong * c, const nmod_mat_t A, const ulong * b, slong blen)sourcevoid nmod_mat_mul_nmod_vec_ptr(ulong * const * c, const nmod_mat_t A, const ulong * const * b, slong blen)sourceSets c = Ab, where A is m \times k and b is the vector of length blen, truncated or extended by zeros to length k. The m entries of c are written. In the _ptr version, entry i of b and c is *b[i] and *c[i]. Each entry of c is a dot product with one reduction. c must not overlap b, except in the _ptr version, which copies.
Cite this page
The FLINT team, “nmod_mat_mul_nmod_vec, nmod_mat_mul_nmod_vec_ptr (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/nmod_mat_mul_nmod_vec.html (generated 2026-10-20).
@misc{flint-doc-nmod-mat-nmod-mat-mul-nmod-vec,
author = {{The FLINT team}},
title = {{nmod\_mat\_mul\_nmod\_vec, nmod\_mat\_mul\_nmod\_vec\_ptr (nmod\_mat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mat/nmod_mat_mul_nmod_vec.html},
note = {Generated 2026-10-20}
}