Barretenberg
The ZK-SNARK library at the core of Aztec
|
Container for parameters used by the grand product (permutation, lookup) Honk relations. More...
#include <relation_parameters.hpp>
Public Types | |
using | DataType = T |
Public Member Functions | |
RefArray< T, NUM_TO_FOLD > | get_to_fold () |
RefArray< const T, NUM_TO_FOLD > | get_to_fold () const |
MSGPACK_FIELDS (eta, eta_two, eta_three, beta, gamma, public_input_delta) | |
Static Public Member Functions | |
static RelationParameters | get_random () |
Public Attributes | |
T | eta { 0 } |
T | eta_two { 0 } |
T | eta_three { 0 } |
T | beta { 0 } |
T | gamma { 0 } |
T | public_input_delta { 0 } |
T | beta_sqr { 0 } |
T | beta_cube { 0 } |
T | eccvm_set_permutation_delta = T(0) |
std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR > | accumulated_result = { T(0), T(0), T(0), T(0) } |
std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR+NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR > | evaluation_input_x |
std::array< std::array< T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR+NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR >, NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR > | batching_challenge_v |
Static Public Attributes | |
static constexpr int | NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR = 4 |
static constexpr int | NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR = 1 |
static constexpr int | NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR = 4 |
static constexpr int | NUM_TO_FOLD = 6 |
Container for parameters used by the grand product (permutation, lookup) Honk relations.
T,either | a native field type or a Univariate. |
Definition at line 19 of file relation_parameters.hpp.
using bb::RelationParameters< T >::DataType = T |
Definition at line 20 of file relation_parameters.hpp.
|
inlinestatic |
Definition at line 58 of file relation_parameters.hpp.
|
inline |
Definition at line 48 of file relation_parameters.hpp.
|
inline |
Definition at line 53 of file relation_parameters.hpp.
bb::RelationParameters< T >::MSGPACK_FIELDS | ( | eta | , |
eta_two | , | ||
eta_three | , | ||
beta | , | ||
gamma | , | ||
public_input_delta | |||
) |
std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::accumulated_result = { T(0), T(0), T(0), T(0) } |
Definition at line 37 of file relation_parameters.hpp.
std::array<std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR + NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR>, NUM_CHALLENGE_POWERS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::batching_challenge_v |
Definition at line 43 of file relation_parameters.hpp.
T bb::RelationParameters< T >::beta { 0 } |
Definition at line 29 of file relation_parameters.hpp.
T bb::RelationParameters< T >::beta_cube { 0 } |
Definition at line 33 of file relation_parameters.hpp.
T bb::RelationParameters< T >::beta_sqr { 0 } |
Definition at line 32 of file relation_parameters.hpp.
T bb::RelationParameters< T >::eccvm_set_permutation_delta = T(0) |
Definition at line 36 of file relation_parameters.hpp.
T bb::RelationParameters< T >::eta { 0 } |
Definition at line 26 of file relation_parameters.hpp.
T bb::RelationParameters< T >::eta_three { 0 } |
Definition at line 28 of file relation_parameters.hpp.
T bb::RelationParameters< T >::eta_two { 0 } |
Definition at line 27 of file relation_parameters.hpp.
std::array<T, NUM_BINARY_LIMBS_IN_GOBLIN_TRANSLATOR + NUM_NATIVE_LIMBS_IN_GOBLIN_TRANSLATOR> bb::RelationParameters< T >::evaluation_input_x |
Definition at line 38 of file relation_parameters.hpp.
T bb::RelationParameters< T >::gamma { 0 } |
Definition at line 30 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 21 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 23 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 22 of file relation_parameters.hpp.
|
staticconstexpr |
Definition at line 24 of file relation_parameters.hpp.
T bb::RelationParameters< T >::public_input_delta { 0 } |
Definition at line 31 of file relation_parameters.hpp.