Exponentiating
elements

Exponentiation and multiexponentiation functions. If it is
known in advance that a particular element will be
exponentiated several times in the future, time can be saved in
the long run by first calling the preprocessing function: