halo2_axiom::arithmetic

Function compute_inner_product

Source
pub fn compute_inner_product<F: Field>(a: &[F], b: &[F]) -> F
Expand description

This computes the inner product of two vectors a and b.

This function will panic if the two vectors are not the same size.