bool operator==(const kaucher_interval<T>& o) const; bool operator!=(const kaucher_interval<T>& o) const; bool operator==(const std::pair<T,T>& o) const; bool operator!=(const std::pair<T,T>& o) const;
These two operators check the equality or inequality of the infinimum and supremum element-wise. Let with
being the current instance, this and
being the given other interval to compare to, that is o:
Set equality operation, as defined as . With either an other interval or a std::pair whose first
element is interpreted as
and second element
.
Set inequality operation, as defined as . With either an other interval or a std::pair whose first
element is interpreted as
and second element
.