FLINT3.7.0-dev

_nfloat_vec_init, _nfloat_vec_clear, _nfloat_vec_set, _nfloat_vec_zero

Synopsis#include <flint/nfloat.h>
void _nfloat_vec_init(nfloat_ptr res, slong len, gr_ctx_t ctx)source
void _nfloat_vec_clear(nfloat_ptr res, slong len, gr_ctx_t ctx)source
int _nfloat_vec_set(nfloat_ptr res, nfloat_srcptr x, slong len, gr_ctx_t ctx)source
int _nfloat_vec_zero(nfloat_ptr res, slong len, gr_ctx_t ctx)source

Initialise a vector of len elements to zero, clear it (no-op), copy and zero.

Cite this page

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