_fmpz_mod_vec_set_fmpz_vec
Synopsis
#include <flint/fmpz_mod_vec.h>void _fmpz_mod_vec_set_fmpz_vec(fmpz * A, const fmpz * B, slong len, const fmpz_mod_ctx_t ctx)sourceSets the entries of (A, \mathit{len}) to the entries of (B, \mathit{len}) reduced modulo n; B may contain any integers and may alias A.
Long vectors, or vectors with large entries or a large modulus, are reduced in parallel when FLINT uses several threads.
Cite this page
The FLINT team, “_fmpz_mod_vec_set_fmpz_vec (fmpz_mod_vec.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_vec/_fmpz_mod_vec_set_fmpz_vec.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-vec-fmpz-mod-vec-set-fmpz-vec,
author = {{The FLINT team}},
title = {{\_fmpz\_mod\_vec\_set\_fmpz\_vec (fmpz\_mod\_vec.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_vec/_fmpz_mod_vec_set_fmpz_vec.html},
note = {Generated 2026-10-20}
}