Function wfst::semiring::power [] [src]

pub fn power<T: Weight>(w: &T, n: u8) -> T

Power is the iterated product for arbitrary semirings such that Power(w, 0) is One() for the semiring, and Power(w, n) = Times(Power(w, n-1), w)