Expand description
Contains sqr_mul::generic_abs_square_and_multiply()
and other functions
for computing a power of an element in a generic monoid.
Functionsยง
- generic_
abs_ square_ and_ multiply - Uses the square-and-multiply technique to compute the reduction of
power
timesbase
w.r.t. the given operation. The operation must be associative to provide correct results. - generic_
pow_ shortest_ chain_ table unstable-enable
- Computes the reduction of
power
timesbase
w.r.t. the given operation. The operation must be associative to provide correct results. - try_
generic_ abs_ square_ and_ multiply unstable-enable
- Uses the square-and-multiply technique to compute the reduction of
power
timesbase
w.r.t. the given operation. The operation must be associative to provide correct results.