FLINT3.7.0-dev

vec4d_to_index, vec4d_gather

Synopsis#include <flint/machine_vectors.h>
vec4di vec4d_to_index(vec4d a)source
vec4d vec4d_gather(const double * t, vec4di i)source

vec4d_to_index converts lanes holding integers in [0, 2^{31}) to table indices, and vec4d_gather returns \{t[i_0], t[i_1], t[i_2], t[i_3]\}. All backends.

Guides#

Cite this page

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