Macaulay2 Engine
Loading...
Searching...
No Matches

◆ operator<

bool operator< ( const Pair & pair1,
const Pair & pair2 )
friend

Definition at line 27 of file franzi-gb.cpp.

28 {
29 if (pair1.lcm < pair2.lcm)
30 {
31 return true;
32 }
33 else if (pair1.lcm > pair2.lcm)
34 {
35 return false;
36 }
37 else
38 {
39 if (pair1.j < pair2.j)
40 {
41 return true;
42 }
43 else if (pair1.j > pair2.j)
44 {
45 return false;
46 }
47 else
48 {
49 return pair1.i < pair2.i;
50 }
51 }
52 }
int i
Definition franzi-gb.cpp:55
int j
Definition franzi-gb.cpp:56
brMonomial lcm
Definition franzi-gb.cpp:58

References i, j, lcm, and Pair().