Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::SumcheckProverRound< Flavor >::RowIterator Struct Reference

Helper struct that will, given a vector of BlockOfContiguousRows, return the edge indices that correspond to the nonzero rows. More...

#include <sumcheck_round.hpp>

Public Member Functions

 RowIterator (const std::vector< BlockOfContiguousRows > &_blocks, size_t starting_index=0)
 
size_t get_next_edge ()
 

Public Attributes

const std::vector< BlockOfContiguousRows > * blocks
 
size_t current_block_index = 0
 
size_t current_block_count = 0
 

Detailed Description

template<typename Flavor>
struct bb::SumcheckProverRound< Flavor >::RowIterator

Helper struct that will, given a vector of BlockOfContiguousRows, return the edge indices that correspond to the nonzero rows.

Definition at line 308 of file sumcheck_round.hpp.

Constructor & Destructor Documentation

◆ RowIterator()

template<typename Flavor >
bb::SumcheckProverRound< Flavor >::RowIterator::RowIterator ( const std::vector< BlockOfContiguousRows > &  _blocks,
size_t  starting_index = 0 
)
inline

Definition at line 312 of file sumcheck_round.hpp.

Member Function Documentation

◆ get_next_edge()

template<typename Flavor >
size_t bb::SumcheckProverRound< Flavor >::RowIterator::get_next_edge ( )
inline

Definition at line 327 of file sumcheck_round.hpp.

Member Data Documentation

◆ blocks

template<typename Flavor >
const std::vector<BlockOfContiguousRows>* bb::SumcheckProverRound< Flavor >::RowIterator::blocks

Definition at line 309 of file sumcheck_round.hpp.

◆ current_block_count

template<typename Flavor >
size_t bb::SumcheckProverRound< Flavor >::RowIterator::current_block_count = 0

Definition at line 311 of file sumcheck_round.hpp.

◆ current_block_index

template<typename Flavor >
size_t bb::SumcheckProverRound< Flavor >::RowIterator::current_block_index = 0

Definition at line 310 of file sumcheck_round.hpp.


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