docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::symbolic::AffineDecomposition Struct 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).

Detailed Description

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.

Member Function Documentation

◆ failure()

AffineDecomposition sdfg::symbolic::AffineDecomposition::failure ( )
inlinestatic

Member Data Documentation

◆ coeff

Expression sdfg::symbolic::AffineDecomposition::coeff

Coefficient of the symbol (must be non-zero integer for success).

◆ offset

Expression sdfg::symbolic::AffineDecomposition::offset

Constant offset (terms not involving the symbol).

◆ success

bool sdfg::symbolic::AffineDecomposition::success

True if the expression is affine in the symbol.


The documentation for this struct was generated from the following file: