2 #include <symengine/assumptions.h>
4 #include <symengine/test_visitors.h>
17 : assumptions_(assumptions)
21 void bvisit(
const Basic &x){};
24 is_real_ = tribool::indeterminate;
29 is_real_ = tribool::tritrue;
34 is_real_ = tribool::tritrue;
39 tribool current = tribool::tritrue;
40 for (
auto &e : x.get_container()) {
41 tribool next = is_real(*e, assumptions_);
46 current = andwk_tribool(current, next);
54 tribool cur = tribool::tritrue;
55 for (
auto &e : x.get_values()) {
56 cur = and_tribool(cur, visitor.apply(*e));
75 return visitor.apply(m);
The base class for SymEngine.
The lowest unit of symbolic representation.
Main namespace for SymEngine package.