_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)sourcevoid _nfloat_vec_clear(nfloat_ptr res, slong len, gr_ctx_t ctx)sourceint _nfloat_vec_set(nfloat_ptr res, nfloat_srcptr x, slong len, gr_ctx_t ctx)sourceint _nfloat_vec_zero(nfloat_ptr res, slong len, gr_ctx_t ctx)sourceInitialise 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).
@misc{flint-doc-nfloat-nfloat-vec-init,
author = {{The FLINT team}},
title = {{\_nfloat\_vec\_init, \_nfloat\_vec\_clear, \_nfloat\_vec\_set, \_nfloat\_vec\_zero (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/_nfloat_vec_init.html},
note = {Generated 2026-10-20}
}