Macaulay2 Engine
Loading...
Searching...
No Matches
◆
is_pure_power()
template<class E,
bool
L>
bool
ExponentList
< E, L >::is_pure_power
(
ConstExponents
a
,
Exponent
&
v
,
Exponent
&
e
)
inline
static
Definition at line
202
of file
ExponentList.hpp
.
203
{
204
if
(
npairs
(
a
) != 1)
return
false
;
205
v
=
a
[1];
206
e
=
a
[2];
207
return
true
;
208
}
ExponentList::npairs
static const Exponent npairs(ConstExponents m)
Definition
ExponentList.hpp:111
ExponentList
Definition
ExponentList.hpp:64
ExponentList
Generated on
for Macaulay2 Engine by
1.15.0