Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
full_row.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
7
8namespace bb::avm2 {
9namespace tracegen {
10// Forward declaration.
11class TraceContainer;
12} // namespace tracegen
13
14// A bulky full row, mostly for testing purposes.
15struct AvmFullRow {
16 using DataType = FF;
18
20 const FF& get(ColumnAndShifts col) const;
21};
22
23// A full row made up of references to fields.
24// Currently only used in tracegen tests via trace.as_rows().
25// Getters are not supported (however, they could be added).
27 using DataType = const FF;
29};
30
31// A cheap proxy for a full row, which holds just a reference to a trace.
37
38} // namespace bb::avm2
ColumnAndShifts
Definition columns.hpp:34
AvmFlavorSettings::FF FF
Definition field.hpp:10
FF & get(ColumnAndShifts col)
Definition full_row.cpp:20
const FF & get(ColumnAndShifts col) const
Definition full_row.cpp:29
const tracegen::TraceContainer & trace
Definition full_row.hpp:35