zmodn.Zmodn.__pow__(other)

Raise Zmodn object to a power.

Parameters:
other : int

The exponent.

Returns:

The result of the exponentiation.

Return type:

Zmodn

Raises:

TypeError – If the exponent is not an integer.