|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Polynomial representation and manipulation. More...
#include "sdfg/symbolic/symbolic.h"Go to the source code of this file.
Classes | |
| struct | sdfg::symbolic::AffineDecomposition |
| Result of affine decomposition of an expression w.r.t. More... | |
Namespaces | |
| namespace | sdfg |
| namespace | sdfg::symbolic |
Typedefs | |
| typedef SymEngine::RCP< const SymEngine::MExprPoly > | sdfg::symbolic::Polynomial |
| Type representing a SymEngine polynomial expression. | |
| typedef std::unordered_map< Symbol, Expression, SymEngine::RCPBasicHash, SymEngine::RCPBasicKeyEq > | sdfg::symbolic::AffineCoeffs |
| Map from symbols to their coefficients in an affine expression. | |
Functions | |
| Polynomial | sdfg::symbolic::polynomial (const Expression expr, SymbolVec &symbols) |
| Converts an Expression to a Polynomial. | |
| AffineCoeffs | sdfg::symbolic::affine_coefficients (Polynomial poly) |
| Converts a Polynomial of degree 1 to coefficient map. | |
| bool | sdfg::symbolic::is_integer_affine (const Expression &expr) |
| Whether expr is affine in all of its symbols with integer coefficients, e.g. | |
| Expression | sdfg::symbolic::affine_inverse (AffineCoeffs coeffs, Symbol symbol) |
| Computes the inverse function for an affine expression. | |
| AffineDecomposition | sdfg::symbolic::affine_decomposition (const Expression &expr, const Symbol &symbol) |
| Decomposes an expression into affine form w.r.t. | |
| Expression | sdfg::symbolic::solve_affine_bound (const Expression &expr, const Symbol &symbol, const Expression &bound_value, bool is_lower_bound) |
| Solves for a symbol's bound given an inequality constraint. | |
| std::pair< Expression, Expression > | sdfg::symbolic::polynomial_div (const Expression ÷nd, const Expression &divisor) |
| Performs polynomial division. | |
Polynomial representation and manipulation.
This file provides utilities for converting symbolic expressions to polynomial form and extracting coefficient information.
Many symbolic expressions in SDFGs are polynomial in nature. This module provides functions to convert expressions to polynomial form and extract structural information.
Affine expressions (degree 1 polynomials) are particularly important as they represent linear transformations commonly found in loop index calculations and memory addressing.