pub fn create_partial_sums_lookup_tables<P: PackedField>(
values: impl ScalarsCollection<P>,
) -> Vec<P>
Expand description
Create a lookup table for partial sums of 8 consequent elements with coefficients corresponding to bits in a byte. The lookup table has the following structure: [ partial_sum_chunk_0_7_byte_0, partial_sum_chunk_0_7_byte_1, …, partial_sum_chunk_0_7_byte_255, partial_sum_chunk_8_15_byte_0, partial_sum_chunk_8_15_byte_1, …, partial_sum_chunk_8_15_byte_255, … ]