FLINT3.7.0-dev

fexpr_func, fexpr_view_func

Synopsis#include <flint/fexpr.h>
void fexpr_func(fexpr_t res, const fexpr_t expr)source
void fexpr_view_func(fexpr_t res, const fexpr_t expr)source

For a call f(e_1, \ldots, e_n), sets res to a copy of f, or to a view of it. A view shares the data of expr (it has alloc = 0): it must not be initialised before nor cleared after use, must not be modified, and is valid only as long as expr is not modified or cleared.

Guides#

Cite this page

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