Function multiexp::multiexp

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

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