constexpr interval<T>& operator=(const interval<T>&) = default; interval<T>& operator=(const std::pair<T,T>& o); interval<T>& set_midpoint(const T& mid, const T& error); interval<T>& set_range(const T& i, const T& s); interval<T>& set_range(const std::pair<T,T>& p);
These member functions assign the infinimum and supremum of the interval.
Standard one-to-one assignment.
Assigns the infinimum to the first element, and the supremum to the second element of the std::pair.
Assign the infinimum to mid-|error| the supremum to mid+|error|.
Assign the infinimum and supremum from the given first and second argument, respectively.