コード例 #1
0
ファイル: casadi_misc.hpp プロジェクト: casadi/casadi
 bool is_strictly_monotone(const std::vector<T> &v) {
   return is_decreasing(v) || is_increasing(v);
 }
コード例 #2
0
ファイル: is_sorted.hpp プロジェクト: 13W/icq-desktop
 bool is_decreasing ( const R &range )
 {
     return is_decreasing ( boost::begin ( range ), boost::end ( range ));
 }