FLINT3.7.0-dev

_nmod_vec_equal, _nmod_vec_is_zero

Synopsis#include <flint/nmod_vec.h>
int _nmod_vec_equal(nn_srcptr vec, nn_srcptr vec2, slong len)source
int _nmod_vec_is_zero(nn_srcptr vec, slong len)source

_nmod_vec_equal returns 1 if the two vectors have the same entries and 0 otherwise. _nmod_vec_is_zero returns 1 if every entry is zero and 0 otherwise.

Guides#

Cite this page

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