19 template <
class M>
struct Dlex
21 static bool less (
const M &,
const M &);
28 int n1 = m1.Lvar(), n2 =m2.Lvar();
29 if(n1 <0 && n2>0)
return false;
30 if(n2 <0 && n1>0)
return true;
36 while(i>=0 && m1[i] == m2[i]) i--;
37 if(i <0)
return false;
39 return (m1[i]> m2[i]);
49 template <
class T1,
class T2>
#define max(a, b)
Definition: alp_f2c.H:167
static bool less(const M &, const M &)
Definition: Dlex.hpp:27
dynamicexp< X, E >::degree_t Degree(const dynamicexp< X, E > &t)
Definition: dynamicexp.hpp:91
MSKint32t MSKint32t MSKint32t i
Definition: mosek.h:2278
Multivariate monomials.
Definition: Monom.hpp:21
bool operator()(const M &, const M &)
Definition: Dlex.hpp:45