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