Macaulay2 Engine
Loading...
Searching...
No Matches
◆
lex_compare()
template<class E,
bool
OC>
int
ExponentVector
< E, OC >::lex_compare
(
int
nvars
,
ConstExponents
a
,
ConstExponents
b
)
inline
static
Definition at line
209
of file
ExponentVector.hpp
.
210
{
211
for
(
int
i
= 0;
i
<
nvars
;
i
++)
212
if
(
a
[
i
] >
b
[
i
])
213
return
GT
;
214
else
if
(
a
[
i
] <
b
[
i
])
215
return
LT
;
216
return
EQ
;
217
}
ExponentVector
Definition
ExponentVector.hpp:66
ExponentVector
Generated on
for Macaulay2 Engine by
1.15.0