11 #include "../MultivariatePolynomial.h" 
   17 template<
typename Integer>
 
   54                 for(
unsigned i = 1; i <= k; i++) {
 
   55                         e = e - u * ideal.pow(i-1);
 
   56                         temp = e / ideal.pow(i);
 
carl is the main namespace for the library.
Coeff substitute(const Monomial &m, const std::map< Variable, Coeff > &substitutions)
Applies the given substitutions to a monomial.
A Variable represents an algebraic variable that can be used throughout carl.
Galois Field numbers, i.e.
The general-purpose multivariate polynomial class.
std::size_t degree(Variable::Arg var) const
Calculates the degree of this polynomial with respect to the given variable.
bool has(Variable v) const
GFNumber< Integer > FiniteInt
static Polynomial ideal_adic_coeff(Polynomial &p, Variable::Arg x_v, FiniteInt a, std::size_t k)
MultivariatePolynomial< FiniteInt > Polynomial
Represents a single term, that is a numeric coefficient and a monomial.