Cases, Case, Otherwise
Synopsis
#include <flint/fexpr_builtin.h>CasesCaseOtherwisePiecewise definitions: Cases(Case(f(x), P(x)), Case(g(x), Otherwise)) (). Any number of cases can be given. If several predicates hold simultaneously, the corresponding values must agree; if no predicate holds and there is no Otherwise case, the value is undefined.
Cite this page
The FLINT team, “Cases, Case, Otherwise (fexpr_builtin.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fexpr_builtin/Cases.html (generated 2026-11-02).
@misc{flint-doc-fexpr-builtin-Cases,
author = {{The FLINT team}},
title = {{Cases, Case, Otherwise (fexpr\_builtin.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fexpr_builtin/Cases.html},
note = {Generated 2026-11-02}
}