nmod_mat_scalar_addmul_ui
Synopsis
#include <flint/nmod_mat.h>void nmod_mat_scalar_addmul_ui(nmod_mat_t C, const nmod_mat_t A, const nmod_mat_t B, const ulong c)sourceSets . Unlike nmod_mat_scalar_mul, may be any word; it is reduced modulo first. As in nmod_mat_scalar_mul, the products are computed by _nmod_vec_scalar_addmul_nmod (or, when is but not , by _nmod_vec_scalar_mul_nmod followed by an addition), on all the entries at once or row by row, and entry by entry for shorter rows.
Cite this page
The FLINT team, “nmod_mat_scalar_addmul_ui (nmod_mat.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mat/nmod_mat_scalar_addmul_ui.html (generated 2026-11-20).
@misc{flint-doc-nmod-mat-nmod-mat-scalar-addmul-ui,
author = {{The FLINT team}},
title = {{nmod\_mat\_scalar\_addmul\_ui (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_scalar_addmul_ui.html},
note = {Generated 2026-11-20}
}