|
barretenberg
|
Core class implementing the arithmetic gate in Standard plonk. More...
#include <arithmetic_widget.hpp>
Static Public Member Functions | |
| static std::set< PolynomialIndex > const & | get_required_polynomial_ids () |
| static void | accumulate_contribution (PolyContainer &polynomials, const challenge_array &challenges, Field "ient, const size_t i=0) |
| Computes the linear terms. | |
Core class implementing the arithmetic gate in Standard plonk.
ArithmethicKernel provides the logic that implements the standard arithmetic transition q_m * w_1 * w_2 + q_1 * w_1 + q_2 * w_2 + q_3 * w_3 + q_c=0
Uses only the alpha challenge
| Field | The basic field in which the elements operates |
| Getters | The class providing functions that access evaluations of polynomials at indices |
| PolyContainer | Container for the polynomials or their simulation |
|
inlinestatic |
Computes the linear terms.
Multiplies the values at the first and second wire, puts the product and all the wires into the linear terms
| polynomials | Polynomials from which the values of wires are obtained |
| linear_terms | Container for results of computation |
| i | Index at which the wire values are sampled. |