Macaulay2 Engine
Loading...
Searching...
No Matches
◆
lcm()
template<class E,
bool
OC>
void
ExponentVector
< E, OC >::lcm
(
int
nvars
,
ConstExponents
a
,
ConstExponents
b
,
Exponents
result
)
inline
static
Definition at line
195
of file
ExponentVector.hpp
.
199
{
200
for
(
int
i
=
nvars
;
i
> 0;
i
--)
201
{
202
Exponent
x
= *
a
++;
203
Exponent
y
= *
b
++;
204
*
result
++ = (
x
>
y
?
x
:
y
);
205
}
206
}
ExponentVector::Exponent
E Exponent
Definition
ExponentVector.hpp:68
ExponentVector
Definition
ExponentVector.hpp:66
ExponentVector
Generated on
for Macaulay2 Engine by
1.15.0