fexpr_arg, fexpr_view_arg
Synopsis
#include <flint/fexpr.h>For a call f(e_1, \ldots, e_n), sets res to a copy of, or a view of, the argument e_{i+1} (indices start at 0 and must satisfy 0 \le i < n). Throws an exception if expr is an atom. Access takes O(1) steps for calls with more than four arguments, thanks to the index.
Guides#
Cite this page
The FLINT team, “fexpr_arg, fexpr_view_arg (fexpr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr/fexpr_arg.html (generated 2026-10-20).
@misc{flint-doc-fexpr-fexpr-arg,
author = {{The FLINT team}},
title = {{fexpr\_arg, fexpr\_view\_arg (fexpr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fexpr/fexpr_arg.html},
note = {Generated 2026-10-20}
}