pub fn inner_product_packed<F, P>(
log_n: usize,
a: impl ExactSizeIterator<Item = P>,
b: impl ExactSizeIterator<Item = P>,
) -> Fwhere
F: Field,
P: PackedField<Scalar = F>,
Expand description
Compute the inner product of two scalar sequences generated by iterators of packed elements.
ยงPreconditions
a
andb
have length1 << log_n.saturating_sub(P::LOG_WIDTH)