|
barretenberg
|
This class contains an example of how to set PermutationSettings classes used by the GenericPermutationRelationImpl class to specify a concrete permutation. More...
#include <relation_definer.hpp>
Static Public Member Functions | |
| template<typename AllEntities > | |
| static bool | inverse_polynomial_is_computed_at_row (const AllEntities &in) |
| If this method returns true on a row of values, then the inverse polynomial at this index. Otherwise the value needs to be set to zero. | |
| template<typename AllEntities > | |
| static auto | get_const_entities (const AllEntities &in) |
| Get all the entities for the permutation when we don't need to update them. | |
| template<typename AllEntities > | |
| static auto | get_nonconst_entities (AllEntities &in) |
| Get all the entities for the permutation when need to update them. | |
Static Public Attributes | |
| static constexpr size_t | COLUMNS_PER_SET = 1 |
This class contains an example of how to set PermutationSettings classes used by the GenericPermutationRelationImpl class to specify a concrete permutation.
To create your own permutation: 1) Create a copy of this class and rename it 2) Update all the values with the ones needed for your permutation 3) Update "DECLARE_IMPLEMENTATIONS_FOR_ALL_SETTINGS" and "DEFINE_IMPLEMENTATIONS_FOR_ALL_SETTINGS" to include the new settings 4) Add the relation with the chosen settings to Relations in the flavor (for example," using Relations = std::tuple<sumcheck::GenericPermutationRelation<sumcheck::ExamplePermutationSettings, FF>>;)
|
inlinestatic |
Get all the entities for the permutation when we don't need to update them.
The entities are returned as a tuple of references in the following order:
|
inlinestatic |
Get all the entities for the permutation when need to update them.
The entities are returned as a tuple of references in the following order:
|
inlinestatic |
If this method returns true on a row of values, then the inverse polynomial at this index. Otherwise the value needs to be set to zero.
If this is true then permutation takes place in this row