Function bellman::multiexp::multiexp
[−]
[src]
pub fn multiexp<Q, D, G, S>(
pool: &CpuPool,
bases: S,
density_map: D,
exponents: Arc<Vec<<<G::Engine as Engine>::Fr as PrimeField>::Repr>>
) -> BoxFuture<<G as CurveAffine>::Projective, Error> where
&'a Q: QueryDensity,
D: Send + Sync + 'static + Clone + AsRef<Q>,
G: CurveAffine,
S: SourceBuilder<G>,
Perform multi-exponentiation. The caller is responsible for ensuring the query size is the same as the number of exponents.