12 template<
typename Coeff,
typename Subst>
14 if (!existsFactorization(p)) {
26 result *=
carl::pow(subResult, factor.second);
33 template<
typename P,
typename Numeric>
36 if( !existsFactorization( p ) )
49 return factorEvaluated;
50 result *= factorEvaluated.pow( factor.second );
52 return std::move( result );
carl is the main namespace for the library.
bool is_zero(const Interval< Number > &i)
Check if this interval is a point-interval containing 0.
bool evaluate(const BasicConstraint< Poly > &c, const Assignment< Number > &m)
P computePolynomial(const FactorizedPolynomial< P > &_fpoly)
Obtains the polynomial (representation) of this factorized polynomial.
Interval< Number > pow(const Interval< Number > &i, Integer exp)
A Variable represents an algebraic variable that can be used throughout carl.
The class which contains the interval arithmetic including trigonometric functions.
bool is_zero() const
Function which determines, if the interval is the zero interval.
bool factorizedTrivially() const
const Factorization< P > & factorization() const
const CoeffType & coefficient() const
const P & polynomial() const