halo2_axiom::arithmetic

Function best_multiexp

Source
pub fn best_multiexp<C: CurveAffine>(
    coeffs: &[C::Scalar],
    bases: &[C],
) -> C::Curve
Expand description

Performs a multi-exponentiation operation.

This function will panic if coeffs and bases have a different length.

This will use multithreading if beneficial.