snark_verifier::util::arithmetic

Function powers

Source
pub fn powers<F: Field>(scalar: F) -> impl Iterator<Item = F>
Expand description

Returns iterator that yields scalar^0, scalar^1, scalar^2…