11 #include "../../MultivariatePolynomial.h"
16 #include "../../Term.h"
22 template<
typename PolynomialType,
class strategy >
23 class MultivariateHorner :
public std::enable_shared_from_this<MultivariateHorner<PolynomialType, strategy >> {
34 typedef typename PolynomialType::CoeffType
CoeffType;
carl is the main namespace for the library.
Interval< Number > exp(const Interval< Number > &i)
static std::map< Variable, Interval< double > > mMap
A Variable represents an algebraic variable that can be used throughout carl.
static const Variable NO_VARIABLE
Instance of an invalid variable.
void setDepConstant(const CoeffType &constant)
const CoeffType & getIndepConstant() const
const CoeffType & getDepConstant() const
MultivariateHorner(const PolynomialType &inPut, const std::map< Variable, Interval< double >> &map)
PolynomialType::CoeffType CoeffType
Datastructure to save Polynomes once they are transformed into a horner scheme:
void setExponent(const unsigned &exp)
void setIndepConstant(const CoeffType &constant)
std::shared_ptr< MultivariateHorner > getIndependent() const
std::shared_ptr< MultivariateHorner > mH_dependent
std::shared_ptr< MultivariateHorner > mH_independent
MultivariateHorner()=delete
unsigned getExponent() const
MultivariateHorner(const MultivariateHorner &)=default
std::shared_ptr< MultivariateHorner > getDependent() const
void setDependent(std::shared_ptr< MultivariateHorner > dependent)
MultivariateHorner(const PolynomialType &inPut)
MultivariateHorner(const PolynomialType &inPut, const std::map< Variable, Interval< double >> &map, int &counter)
void setIndependent(std::shared_ptr< MultivariateHorner > independent)
MultivariateHorner & operator=(const MultivariateHorner &mh)=default
MultivariateHorner(MultivariateHorner &&)=default
void setVariable(Variable::Arg &var)
Variable getVariable() const
CoeffType mConst_independent
CoeffType mConst_dependent