interval<R>(l, u) |
interval<R> |
construct a new interval from a pair of limits |
interval<R>(p) |
interval<R> |
construct a new interval from a pair of limits |
interval<R>(i) |
interval<R> |
copy constructor |
make_interval<R>() |
interval<R> |
return new interval with
std::numric_limits<R>::min() and
std::numric_limits<R>::max() |
make_interval<R>(const R
&r) |
interval<R> |
return new interval with
std::numric_limits<R>::min() and
std::numric_limits<R>::max() |
i.l |
R |
lowermost value in the interval i |
i.u |
R |
uppermost value in the interval i |
i.includes(j) |
boost::logic::tribool |
return true if interval i includes interval j |
i.excludes(j) |
boost::logic::tribool |
return true if interval i includes interval j |
i.includes(t) |
bool |
return true if interval i includes value t |
i.excludes(t) |
bool |
return true if interval i includes value t |
i + j |
interval<R> |
add two intervals and return the result |
i - j |
interval<R> |
subtract two intervals and return the result |
i * j |
interval<R> |
multiply two intervals and return the result |
i / j |
interval<R> |
divide one interval by another and return the
result |
i % j |
interval<R> |
calculate modulus of one interval by another and return
the result |
i << j |
interval<R> |
calculate the range that would result from shifting one
interval by another |
i >> j |
interval<R> |
calculate the range that would result from shifting one
interval by another |
i | j |
interval<R> |
range of values which can result from applying | to any
pair of operands from I and j |
i & j |
interval<R> |
range of values which can result from applying & to
any pair of operands from I and j |
i ^ j |
interval<R> |
range of values which can result from applying ^ to any
pair of operands from I and j |
t < u |
boost::logic::tribool |
true if every element in t is less than every element in
u |
t > u |
boost::logic::tribool |
true if every element in t is greater than every element
in u |
t <= u |
boost::logic::tribool |
true if every element in t is less than or equal to every
element in u |
t >= u |
boost::logic::tribool |
true if every element in t is greater than or equal to
every element in u |
t == u |
bool |
true if limits are equal |
t != u |
bool |
true if limits are not equal |
os << i |
os & |
print interval to output stream |