Macaulay2 Engine
Loading...
Searching...
No Matches
◆
power()
template<class E,
bool
OC>
void
ExponentVector
< E, OC >::power
(
int
nvars
,
ConstExponents
a
,
const
Exponent
n
,
Exponents
result
)
inline
static
Definition at line
112
of file
ExponentVector.hpp
.
116
{
117
if
constexpr
(
OC
)
118
for
(
int
i
=
nvars
;
i
> 0;
i
--) *
result
++ =
safe::mult
(*
a
++,
n
);
119
else
120
for
(
int
i
=
nvars
;
i
> 0;
i
--) *
result
++ = *
a
++ *
n
;
121
}
ExponentVector
Definition
ExponentVector.hpp:66
ExponentVector
Generated on
for Macaulay2 Engine by
1.15.0