FLINT3.7.0-dev

fexpr_vec_insert_unique

Synopsis#include <flint/fexpr.h>
slong fexpr_vec_insert_unique(fexpr_vec_t vec, const fexpr_t f)source

Returns the index of an entry of vec equal to f, appending f first if there is none. The search is linear.

Cite this page

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