60 inline static void accumulate(ContainerOverSubrelations& accumulators,
63 const FF& scaling_factor)
66 using CoefficientAccumulator =
typename Accumulator::CoefficientAccumulator;
79 auto lagrange_ecc_op =
84 auto lagrange_by_scaling = lagrange_ecc_op * scaling_factor;
85 auto complement_ecc_op_by_scaling = -lagrange_by_scaling + scaling_factor;
88 auto tmp = op_wire_1 - w_1_shift;
89 tmp *= lagrange_by_scaling;
93 tmp = op_wire_2 - w_2_shift;
94 tmp *= lagrange_by_scaling;
98 tmp = op_wire_3 - w_3_shift;
99 tmp *= lagrange_by_scaling;
103 tmp = op_wire_4 - w_4_shift;
104 tmp *= lagrange_by_scaling;
108 tmp = op_wire_1 * complement_ecc_op_by_scaling;
112 tmp = op_wire_2 * complement_ecc_op_by_scaling;
116 tmp = op_wire_3 * complement_ecc_op_by_scaling;
120 tmp = op_wire_4 * complement_ecc_op_by_scaling;