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 |
i.includes(j) |
bool |
return true if interval i includes interval j |
i.includes(t) |
bool |
return true if interval i includes value t |
add<R>(i, j) |
C |
add two intervals and return the result |
subtract<R>(i, j) |
C |
subtract two intervals and return the result |
multiply<R>(i, j) |
C |
multiply two intervals and return the result |
divide_nz<R>(i, j) |
C |
divide one interval by another excluding the value zero
and return the result |
divide<R>(i, j) |
C |
divide one interval by another and return the
result |
modulus_nz<R>(i, j) |
C |
calculate modulus of one interval by another excluding
the value zero and return the result |
modulus<R>(i, j) |
C |
calculate modulus of one interval by another and return
the result |
left_shift<R>(i, j) |
C |
calculate the range that would result from shifting one
interval by another |
right_shift<R>(i, j) |
C |
calculate the range that would result from shifting one
interval by another |
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 |