Function multiexp::multiexp

source ·
pub fn multiexp<G: Group>(pairs: &[(G::Scalar, G)]) -> Gwhere
    G::Scalar: PrimeFieldBits + Zeroize,
Expand description

Performs a multiexponentation, automatically selecting the optimal algorithm based on the amount of pairs.