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
8
9namespace bb::avm2 {
10namespace tracegen {
11// Forward declaration.
12class TraceContainer;
13} // namespace tracegen
14
15// A bulky full row, mostly for testing purposes.
16struct AvmFullRow {
17 using DataType = FF;
19
21 const FF& get(ColumnAndShifts col) const;
22};
23
24// A full row made up of references to fields.
25// Currently only used in tracegen tests via trace.as_rows().
26// Getters are not supported (however, they could be added).
28 using DataType = const FF;
30};
31
32// A cheap proxy for a full row, which holds just a reference to a trace.
38
39} // namespace bb::avm2
ColumnAndShifts
Definition columns.hpp:35
AvmFlavorSettings::FF FF
Definition field.hpp:10
FF & get(ColumnAndShifts col)
Definition full_row.cpp:7
const FF & get(ColumnAndShifts col) const
Definition full_row.cpp:16
const tracegen::TraceContainer & trace
Definition full_row.hpp:36