Skip to main content

powers

Function powers 

Source
pub fn powers<S: SemiringConfig>(
    cfg: &S,
    x: &S::Element,
    num_pows: usize,
) -> Vec<S::Element>
Expand description

Powers [1, x, x^2, ..., x^(num_pows-1)] computed via the config.