Macaulay2 Engine
Loading...
Searching...
No Matches
◆
gcd()
template<class E,
bool
OC>
void
ExponentVector
< E, OC >::gcd
(
int
nvars
,
ConstExponents
a
,
ConstExponents
b
,
Exponents
result
)
inline
static
Definition at line
181
of file
ExponentVector.hpp
.
185
{
186
for
(
int
i
=
nvars
;
i
> 0;
i
--)
187
{
188
Exponent
x
= *
a
++;
189
Exponent
y
= *
b
++;
190
*
result
++ = (
x
<
y
?
x
:
y
);
191
}
192
}
ExponentVector::Exponent
E Exponent
Definition
ExponentVector.hpp:68
ExponentVector
Definition
ExponentVector.hpp:66
ExponentVector
Generated on
for Macaulay2 Engine by
1.15.0