[][src]Function maths_traits::algebra::group_like::repeated_squaring_inv

pub fn repeated_squaring_inv<E: IntegerSubset, R: MulGroup + Clone>(
    b: R,
    p: E
) -> R

Raises a monoid element to a integral power using inversion and repeated squaring

Panics

If both the base and power are 0