Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::TranslationEvaluations_< BF > Struct Template Reference

Stores the evaluations of op, Px, Py, z1, and z2 computed by the ECCVM Prover. These evaluations are batched and checked against the accumulated_result, which is computed and verified by Translator. More...

#include <translation_evaluations.hpp>

Public Member Functions

RefArray< BF, NUM_TRANSLATION_EVALUATIONS > get_all ()
 
 MSGPACK_FIELDS (op, Px, Py, z1, z2)
 

Static Public Member Functions

static size_t size ()
 

Public Attributes

BF op
 
BF Px
 
BF Py
 
BF z1
 
BF z2
 
std::array< std::string, NUM_TRANSLATION_EVALUATIONS > labels
 

Detailed Description

template<typename BF>
struct bb::TranslationEvaluations_< BF >

Stores the evaluations of op, Px, Py, z1, and z2 computed by the ECCVM Prover. These evaluations are batched and checked against the accumulated_result, which is computed and verified by Translator.

Template Parameters
BFThe base field of BN254, translation evaluations are represented in the base field.

Definition at line 20 of file translation_evaluations.hpp.

Member Function Documentation

◆ get_all()

template<typename BF >
RefArray< BF, NUM_TRANSLATION_EVALUATIONS > bb::TranslationEvaluations_< BF >::get_all ( )
inline

Definition at line 24 of file translation_evaluations.hpp.

◆ MSGPACK_FIELDS()

template<typename BF >
bb::TranslationEvaluations_< BF >::MSGPACK_FIELDS ( op  ,
Px  ,
Py  ,
z1  ,
z2   
)

◆ size()

template<typename BF >
static size_t bb::TranslationEvaluations_< BF >::size ( )
inlinestatic

Definition at line 22 of file translation_evaluations.hpp.

Member Data Documentation

◆ labels

template<typename BF >
std::array<std::string, NUM_TRANSLATION_EVALUATIONS> bb::TranslationEvaluations_< BF >::labels
Initial value:
= {
"Translation:op", "Translation:Px", "Translation:Py", "Translation:z1", "Translation:z2"
}

Definition at line 26 of file translation_evaluations.hpp.

◆ op

template<typename BF >
BF bb::TranslationEvaluations_< BF >::op

Definition at line 21 of file translation_evaluations.hpp.

◆ Px

template<typename BF >
BF bb::TranslationEvaluations_< BF >::Px

Definition at line 21 of file translation_evaluations.hpp.

◆ Py

template<typename BF >
BF bb::TranslationEvaluations_< BF >::Py

Definition at line 21 of file translation_evaluations.hpp.

◆ z1

template<typename BF >
BF bb::TranslationEvaluations_< BF >::z1

Definition at line 21 of file translation_evaluations.hpp.

◆ z2

template<typename BF >
BF bb::TranslationEvaluations_< BF >::z2

Definition at line 21 of file translation_evaluations.hpp.


The documentation for this struct was generated from the following file: