[][src]Function bls12_381::multi_miller_loop

pub fn multi_miller_loop(terms: &[(&G1Affine, &G2Prepared)]) -> MillerLoopResult

Computes $$\sum_{i=1}^n \textbf{ML}(a_i, b_i)$$ given a series of terms $$(a_1, b_1), (a_2, b_2), ..., (a_n, b_n).$$

Requires the alloc and pairing crate features to be enabled.