|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Result of affine decomposition of an expression w.r.t. More...
#include <sdfg/symbolic/polynomials.h>
Static Public Member Functions | |
| static AffineDecomposition | failure () |
Public Attributes | |
| bool | success |
| True if the expression is affine in the symbol. | |
| Expression | coeff |
| Coefficient of the symbol (must be non-zero integer for success). | |
| Expression | offset |
| Constant offset (terms not involving the symbol). | |
Result of affine decomposition of an expression w.r.t.
a symbol
For an expression expr = coeff * symbol + offset, this struct holds the coefficient and offset values.
|
inlinestatic |
| Expression sdfg::symbolic::AffineDecomposition::coeff |
Coefficient of the symbol (must be non-zero integer for success).
| Expression sdfg::symbolic::AffineDecomposition::offset |
Constant offset (terms not involving the symbol).
| bool sdfg::symbolic::AffineDecomposition::success |
True if the expression is affine in the symbol.