Macaulay2 Engine
Loading...
Searching...
No Matches
◆
divide()
template<class E,
bool
OC>
void
ExponentVector
< E, OC >::divide
(
int
nvars
,
ConstExponents
a
,
ConstExponents
b
,
Exponents
result
)
inline
static
Definition at line
147
of file
ExponentVector.hpp
.
151
{
152
if
constexpr
(
OC
)
153
for
(
int
i
=
nvars
;
i
> 0;
i
--) *
result
++ =
safe::sub
(*
a
++, *
b
++);
154
else
155
for
(
int
i
= 0;
i
<
nvars
;
i
++) *
result
++ = *
a
++ - *
b
++;
156
}
ExponentVector
Definition
ExponentVector.hpp:66
ExponentVector
Generated on
for Macaulay2 Engine by
1.15.0