fexpr_expanded_normal_form
Synopsis
#include <flint/fexpr.h>Sets res to the expanded normal form of expr as a formal rational function of its non-arithmetic subexpressions, and returns 1 (0 on failure, see fexpr_get_fmpz_mpoly_q). The nodes are found with fexpr_arithmetic_nodes and sorted with fexpr_cmp_fast, expr is converted with fexpr_get_fmpz_mpoly_q and converted back with fexpr_set_fmpz_mpoly_q. flags is reserved and should be 0.
Guides#
Cite this page
The FLINT team, “fexpr_expanded_normal_form (fexpr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr/fexpr_expanded_normal_form.html (generated 2026-10-20).
@misc{flint-doc-fexpr-fexpr-expanded-normal-form,
author = {{The FLINT team}},
title = {{fexpr\_expanded\_normal\_form (fexpr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fexpr/fexpr_expanded_normal_form.html},
note = {Generated 2026-10-20}
}