|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Generic lookup table that uses ROM tables internally to access group elements. More...
Public Member Functions | |
| lookup_table_plookup ()=default | |
| lookup_table_plookup (const std::array< element, length > &inputs) | |
| lookup_table_plookup (const lookup_table_plookup &other)=default | |
| lookup_table_plookup & | operator= (const lookup_table_plookup &other)=default |
| lookup_table_plookup (lookup_table_plookup &&other) noexcept=default | |
| lookup_table_plookup & | operator= (lookup_table_plookup &&other) noexcept=default |
| ~lookup_table_plookup ()=default | |
| element | get (const std::array< bool_ct, length > &bits) const |
| element | operator[] (const size_t idx) const |
Public Attributes | |
| std::array< element, table_size > | element_table |
| std::array< twin_rom_table< Builder >, Fq::NUM_LIMBS+1 > | coordinates |
| std::array< uint256_t, Fq::NUM_LIMBS *2 > | limb_max |
Static Public Attributes | |
| static constexpr size_t | table_size = (1ULL << (length)) |
Generic lookup table that uses ROM tables internally to access group elements.
Can access elements in the table using bit-decomposed index.
Definition at line 653 of file biggroup.hpp.
|
default |
| bb::stdlib::element_default::element< C, Fq, Fr, G >::lookup_table_plookup< length >::lookup_table_plookup | ( | const std::array< element, length > & | inputs | ) |
Definition at line 189 of file biggroup_tables.hpp.
|
default |
|
defaultnoexcept |
|
default |
| element< C, Fq, Fr, G > bb::stdlib::element_default::element< C, Fq, Fr, G >::lookup_table_plookup< length >::get | ( | const std::array< bool_ct, length > & | bits | ) | const |
Definition at line 331 of file biggroup_tables.hpp.
|
default |
|
defaultnoexcept |
|
inline |
Definition at line 665 of file biggroup.hpp.
| std::array<twin_rom_table<Builder>, Fq::NUM_LIMBS + 1> bb::stdlib::element_default::element< Builder_, Fq, Fr, NativeGroup >::lookup_table_plookup< length >::coordinates |
Definition at line 671 of file biggroup.hpp.
| std::array<element, table_size> bb::stdlib::element_default::element< Builder_, Fq, Fr, NativeGroup >::lookup_table_plookup< length >::element_table |
Definition at line 667 of file biggroup.hpp.
| std::array<uint256_t, Fq::NUM_LIMBS * 2> bb::stdlib::element_default::element< Builder_, Fq, Fr, NativeGroup >::lookup_table_plookup< length >::limb_max |
Definition at line 672 of file biggroup.hpp.
|
staticconstexpr |
Definition at line 654 of file biggroup.hpp.