pub fn libra_eval<Cube: Hypercube, F: FieldOps>(
challenge_point: &[F],
query_j: &[F],
query_k: &[F],
n_vars: usize,
degree: usize,
) -> FExpand description
Evaluates the multilinear with coefficients libra_eval_r over Cube at a query point.
Computes, at the query point (query_j, query_k),
Σⱼ Σₖ eq(j, query_j) · eq(k, query_k) · r[j]^kfor j < n_vars and k ≤ degree, where eq is Cube’s equality indicator. Over
OneCube this is the multilinear extension of
the table; over InfCube it is the multilinear
whose monomial coefficients are the table.
§Arguments
challenge_point- The challenge pointrfrom sumcheck (lengthn_vars)query_j- Query point for the variable index (lengthm_n)query_k- Query point for the power index (lengthm_d)n_vars- Number of variables in the mask polynomialdegree- Degree of each univariate in the mask polynomial