FLINT3.7.0-dev

_gr_vec_set_str

Synopsis#include <flint/gr_vec.h>
int _gr_vec_set_str(gr_ptr res, const char * s, slong len, gr_ctx_t ctx)source

Evaluates the bracketed list at the start of s into the array res of len initialised elements, returning GR_DOMAIN if the number of entries differs from len. Characters after the closing bracket are ignored, so the function can read a row inside a matrix string.

Cite this page

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