Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010
6.3.10 Set comparison
bool contains(const std::complex<T>& v) const;
bool contains(const rc_interval<T>& o) const;
bool overlaps(const rc_interval<T>& o) const;

contains(const std::complex<T>& v)


Determines whether the given v ∈C  is in the current interval X ∈ RC  , that is v∈ X .

contains(const kc_interval<T>& o)


Determines whether the given O ∈ RC  is contained in the current interval X∈ RC  , that is O ∈X .

overlaps(const kc_interval<T>& o)


Determines whether the given O∈ RC  overlaps with the current interval X ∈RC  , that is ∃v∈ R such that v∈ X∧ v∈ O .