pub fn tensor_prod_eq_ind<P: PackedField>(
log_n_values: usize,
packed_values: &mut [P],
extra_query_coordinates: &[P::Scalar],
) -> Result<(), Error>
Expand description
Tensor Product expansion of values with partial eq indicator evaluated at extra_query_coordinates
Let be log_n_values, , be the lengths of packed_values
and extra_query_coordinates
.
Requires
*
* p = max(1, 2^{n+k} / P::WIDTH)
Let be a vector corresponding to the first scalar values of values
.
Let be the vector of extra_query_coordinates
.
§Formal Definition
values
is updated to contain the result of:
which is now a vector of length . If 2^{n+k} < P::WIDTH, then
the result is packed into a single element of values
where only the first
2^{n+k} elements have meaning.
§Interpretation
Let be an variate multilinear polynomial that has evaluations over
the dimensional hypercube corresponding to .
Then values
is updated to contain the evaluations of over the -dimensional
hypercube where