예제 #1
0
 bool is_strictly_monotone(const std::vector<T> &v) {
   return is_decreasing(v) || is_increasing(v);
 }
예제 #2
0
 bool is_increasing ( const R &range )
 {
     return is_increasing ( boost::begin ( range ), boost::end ( range ));
 }