Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010
7.2.3 Assignment
constexpr kaucher_interval<T>& operator=(const kaucher_interval<T>&) = default;
kaucher_interval<T>& operator=(const std::pair<T,T>& o);
kaucher_interval<T>& operator=(const interval<T>& o);

kaucher_interval<T>& set_midpoint(const T& mid, const T& error);
kaucher_interval<T>& set_range(const T& i, const T& s);
kaucher_interval<T>& set_range(const std::pair<T,T>& p);

These member functions assign the infinimum and supremum of the interval.

operator=(const kaucher_interval<T>&)


Standard one-to-one assignment.

operator=(const interval<T>&)


Assign values form a standard interval<T>.

operator=(const std::pair<T,T>&) and set_range(const std::pair<T,T>& p)


Assigns the infinimum to the first element, and the supremum to the second element of the std::pair.

set_midpoint(const T& mid, const T& error)


Assign the infinimum to mid-|error| the supremum to mid+|error|.

set_range(const T& i, const T& s)


Assign the infinimum and supremum from the given first and second argument, respectively.