10 template<
typename Number,
typename Integer>
45 template<
typename Number,
typename Integer>
50 template<
typename Number, EnableIf<std::is_
floating_po
int<Number>> = dummy>
70 template<
typename Number, EnableIf<std::is_
floating_po
int<Number>> = dummy>
#define CARL_LOG_DEBUG(channel, msg)
carl is the main namespace for the library.
UnivariatePolynomial< Coeff > pow(const UnivariatePolynomial< Coeff > &p, std::size_t exp)
Returns a polynomial to the given power.
void swap(Variable &lhs, Variable &rhs)
Interval< Number > abs(const Interval< Number > &_in)
Method which returns the absolute value of the passed number.
void pow_assign(Interval< Number > &i, Integer exp)
Interval< Number > exp(const Interval< Number > &i)
Interval< Number > sqrt(const Interval< Number > &i)
void sqrt_assign(Interval< Number > &i)
@ WEAK
the given bound is compared by a weak ordering relation
@ INFTY
the given bound is interpreted as minus or plus infinity depending on whether it is the left or the r...
Interval< Number > pow(const Interval< Number > &i, Integer exp)
auto & get(const std::string &name)
The class which contains the interval arithmetic including trigonometric functions.
BoundType lower_bound_type() const
The getter for the lower bound type of the interval.
const BoostInterval & content() const
Returns a reference to the included boost interval.
const Number & upper() const
The getter for the upper boundary of the interval.
boost::numeric::interval< Number, BoostIntervalPolicies > BoostInterval
bool contains(const Number &val) const
Checks if the interval contains the given value.
const Number & lower() const
The getter for the lower boundary of the interval.
bool is_consistent() const
A quick check for the bound values.
static Interval< Number > empty_interval()
Method which returns the empty interval rooted at 0.
BoundType upper_bound_type() const
The getter for the upper bound type of the interval.
bool is_infinite() const
Function which determines, if the interval is (-oo,oo).