10 if(a.
empty()) {
return a; }
11 auto a_bound = a.
bound();
12 if(a_bound.lower() >= T(0.0)) {
14 }
else if(a_bound.upper() <= T(0.0)) {
17 auto m = std::max(std::abs(a_bound.lower()), a_bound.upper());
Implements truncated multivariate polynomial algebra.
Definition taylor.hpp:46
bool empty() const noexcept
Checks if this Taylor polynomial represents the empty set.
Definition taylor.hpp:257
Interval< value_t > interval_t
Type of an interval.
Definition taylor.hpp:64
interval_t bound() const
Returns an interval enclosing the values of the polynomial.
Definition taylor.hpp:819
size_type max_order() const noexcept
Returns the truncation order of *this.
Definition taylor.hpp:213
The primary namespace for the sigma library.
Definition affine.hpp:12
Affine< T > abs(const Affine< T > &a)
Absolute Value of an affine form.
Definition basic.ipp:9
Affine< T > fabs(const Affine< T > &a)
Absolute Value of an affine form.
Definition basic.ipp:22
Tag type used to pass the truncation order to constructors.
Definition taylor.hpp:77
Defines the Taylor class.