|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Functions for building and evaluating logical conditions. More...
Functions | |
| Condition | sdfg::symbolic::And (const Condition lhs, const Condition rhs) |
| Logical AND of two conditions. | |
| Condition | sdfg::symbolic::Or (const Condition lhs, const Condition rhs) |
| Logical OR of two conditions. | |
| Condition | sdfg::symbolic::Not (const Condition expr) |
| Logical NOT (negation) of a condition. | |
| bool | sdfg::symbolic::is_true (const Expression expr) |
| Tests if an expression evaluates to true. | |
| bool | sdfg::symbolic::is_false (const Expression expr) |
| Tests if an expression evaluates to false. | |
Functions for building and evaluating logical conditions.
These functions construct boolean conditions used in control flow (if-else statements) and loop guards. They follow standard boolean logic semantics.
Logical AND of two conditions.
| lhs | Left-hand side condition |
| rhs | Right-hand side condition |
| bool sdfg::symbolic::is_false | ( | const Expression | expr | ) |
Tests if an expression evaluates to false.
| expr | Expression to test |
| bool sdfg::symbolic::is_true | ( | const Expression | expr | ) |
Tests if an expression evaluates to true.
| expr | Expression to test |
Logical NOT (negation) of a condition.
| expr | Condition to negate |