Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template left_subtract

boost::itl::left_subtract

Synopsis

template<class DomainT , ITL_COMPARE Compare> 
  interval< DomainT, Compare > 
  left_subtract(interval< DomainT, Compare > right, 
                const interval< DomainT, Compare > & left_minuend);

Description

subtract left_minuend from the right interval on it's left side. Return the difference: The part of right right of left_minuend.

right_over = right - left_minuend; //on the left.
...      d) : right
... c)      : left_minuend
     [c  d) : right_over


PrevUpHomeNext