FLINT3.7.0-dev

fexpr_arithmetic_nodes

Synopsis#include <flint/fexpr.h>
void fexpr_arithmetic_nodes(fexpr_vec_t nodes, const fexpr_t expr)source

Sets nodes to the subexpressions of expr that are the leaves when expr is viewed as an arithmetic expression: expr is built from integers and the elements of nodes by nested applications of Pos, Neg, Add, Sub, Mul, Div and Pow with an integer exponent. Each node appears once; the nodes are not sorted.

Cite this page

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