10 template<
typename Number>
27 template<
typename Number>
32 template<
typename Number>
42 template<
typename Number>
47 template<
typename Number>
65 template<
typename Number>
73 template<
typename Number>
87 template<
typename Number>
103 template<
typename Number>
107 template<
typename Number>
118 template<
typename Number>
120 return !(lhs == rhs);
122 template<
typename Number>
124 return !(lhs == rhs);
126 template<
typename Number>
128 return !(lhs == rhs);
137 template<
typename Number>
152 template<
typename Number>
156 return lhs.
upper() <= rhs;
158 return lhs.
upper() < rhs;
166 template<
typename Number>
170 return lhs <= rhs.
lower();
172 return lhs < rhs.
lower();
187 template<
typename Number>
191 template<
typename Number>
195 template<
typename Number>
208 template<
typename Number>
222 template<
typename Number>
225 return lhs.
upper() <= rhs;
227 template<
typename Number>
230 return rhs.
lower() >= lhs;
240 template<
typename Number>
244 template<
typename Number>
248 template<
typename Number>
260 template<
typename Number>
271 template<
typename Number>
282 template<
typename Number>
294 template<
typename Number>
306 template<
typename Number>
317 template<
typename Number>
328 template<
typename Number>
339 template<
typename Number>
350 template<
typename Number>
361 template<
typename Number>
373 template<
typename Number>
385 template<
typename Number>
396 template<
typename Number>
400 }
else if (rhs < 0) {
413 template<
typename Number>
424 template<
typename Number>
436 template<
typename Number>
452 template<
typename Number>
468 template<
typename Number>
470 return lhs = lhs / rhs;
carl is the main namespace for the library.
bool operator>(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
Interval< Number > operator/(const Interval< Number > &lhs, const Number &rhs)
Operator for the division of an interval and a number.
bool AlmostEqual2sComplement(const Number &A, const Number &B, unsigned=128)
Interval< Number > operator+(const Interval< Number > &lhs, const Interval< Number > &rhs)
Operator for the addition of two intervals.
bool operator<(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool is_zero(const Interval< Number > &i)
Check if this interval is a point-interval containing 0.
Interval< Number > operator*(const Interval< Number > &lhs, const Interval< Number > &rhs)
Operator for the multiplication of two intervals.
Interval< Number > & operator*=(Interval< Number > &lhs, const Interval< Number > &rhs)
Operator for the multiplication of an interval and a number with assignment.
Interval< Number > & operator/=(Interval< Number > &lhs, const Number &rhs)
Operator for the division of an interval and a number with assignment.
Interval< Number > & operator+=(Interval< Number > &lhs, const Interval< Number > &rhs)
Operator for the addition of an interval and a number with assignment.
Interval< Number > operator-(const Interval< Number > &rhs)
Unary minus.
bool operator!=(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator<=(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator>=(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
Interval< Number > & operator-=(Interval< Number > &lhs, const Interval< Number > &rhs)
Operator for the subtraction of two intervals with assignment.
@ WEAK
the given bound is compared by a weak ordering relation
@ STRICT
the given bound is compared by a strict ordering relation
@ INFTY
the given bound is interpreted as minus or plus infinity depending on whether it is the left or the r...
bool bounds_connect(const UpperBound< Number > &lhs, const LowerBound< Number > &rhs)
Check whether the two bounds connect, for example as for ...3),[3...
The class which contains the interval arithmetic including trigonometric functions.
Interval< Number > inverse() const
Calculates the additive inverse of an interval with respect to natural interval arithmetic.
bool is_empty() const
Function which determines, if the interval is empty.
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.
void mul_assign(const Interval< Number > &rhs)
void add_assign(const Interval< Number > &rhs)
void sub_assign(const Interval< Number > &rhs)
const Number & lower() const
The getter for the lower boundary of the interval.
bool is_point_interval() const
Function which determines, if the interval is a pointinterval.
Interval< Number > mul(const Interval< Number > &rhs) const
Multiplies two intervals according to natural interval arithmetic.
Interval< Number > sub(const Interval< Number > &rhs) const
Subtracts two intervals according to natural interval arithmetic.
BoundType upper_bound_type() const
The getter for the upper bound type of the interval.
Interval< Number > add(const Interval< Number > &rhs) const
Adds two intervals according to natural interval arithmetic.