monoid.pow

The power operation in a monoid. a^n = a*a*...*a n times.

gpow

The power operation in a group. This extends monoid.pow to negative integers with the definition a^(-n) = (a^n)⁻¹.