Barretenberg
The ZK-SNARK library at the core of Aztec
|
A basic table from which we can perform lookups (for example, an xor table) More...
#include <types.hpp>
Classes | |
struct | LookupEntry |
Public Member Functions | |
void | initialize_index_map () |
bool | operator== (const BasicTable &other) const =default |
size_t | size () const |
Public Attributes | |
BasicTableId | id |
size_t | table_index |
bool | use_twin_keys |
bb::fr | column_1_step_size = bb::fr(0) |
bb::fr | column_2_step_size = bb::fr(0) |
bb::fr | column_3_step_size = bb::fr(0) |
std::vector< bb::fr > | column_1 |
std::vector< bb::fr > | column_2 |
std::vector< bb::fr > | column_3 |
std::vector< LookupEntry > | lookup_gates |
LookupHashTable | index_map |
std::array< bb::fr, 2 >(* | get_values_from_key )(const std::array< uint64_t, 2 >) |
A basic table from which we can perform lookups (for example, an xor table)
Also stores the lookup gate data for all lookups performed on this table
|
inline |
|
default |
std::array< bb::fr, 2 >(* bb::plookup::BasicTable::get_values_from_key) (const std::array< uint64_t, 2 >) |
BasicTableId bb::plookup::BasicTable::id |
LookupHashTable bb::plookup::BasicTable::index_map |
std::vector<LookupEntry> bb::plookup::BasicTable::lookup_gates |