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 )
inlinestatic

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 }
static const Exponent npairs(ConstExponents m)