ca_set_fexpr
#include <flint/ca.h>The expression is evaluated by traversing it with the arithmetic and functions of this module; no symbolic simplification takes place. Supported are integers, decimal literals (Decimal), the constants Pi, NumberI, NumberE, Euler, GoldenRatio, the special values Infinity, UnsignedInfinity, Undefined and Unknown, arithmetic (Pos, Neg, Add, Sub, Mul, Div, Pow), Sqrt, Exp, Log, the trigonometric functions and their inverses, Abs, Sign, Csgn, Arg, Re, Im, Conjugate, Floor, Ceil, Gamma, Erf, Erfc, Erfi, the algebraic number constructors PolynomialRootIndexed, PolynomialRootNearest and AlgebraicNumberSerialized, and Where with Def for local definitions. Every expression produced by ca_get_fexpr can be read.
Guides#
The FLINT team, “ca_set_fexpr (ca.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ca/ca_set_fexpr.html (generated 2026-10-20).
@misc{flint-doc-ca-ca-set-fexpr,
author = {{The FLINT team}},
title = {{ca\_set\_fexpr (ca.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/ca/ca_set_fexpr.html},
note = {Generated 2026-10-20}
}