|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Column view over the gate selector of one kind in the row-major gate storage: rows whose gate_kind matches read their gate_value, all other rows read zero. More...
#include <execution_trace_block.hpp>
Public Types | |
| using | Tile = GateTile< FF, NUM_WIRES > |
| using | Tiles = std::vector< Tile > |
Public Member Functions | |
| GateSelectorColumn (Tiles *tiles, const size_t *num_rows, GateKind kind) | |
| void | set (size_t idx, int value) override |
| Set the value at index using integer. | |
| void | set (size_t idx, const FF &value) override |
| Set the value at index using a field element. | |
| const FF & | operator[] (size_t i) const override |
| Get value at specified index. | |
| const FF & | back () const override |
| Get the last value in the selector. | |
| size_t | size () const override |
| bool | empty () const override |
| void | copy_into (FF *dst, size_t start, size_t count) const override |
Bulk-copy count values of this column starting at start into dst (tile-wise, avoiding a virtual call per element). | |
| GateKind | kind () const |
Public Member Functions inherited from bb::Selector< FF > | |
| Selector ()=default | |
| virtual | ~Selector ()=default |
| Selector (const Selector &)=default | |
| Selector & | operator= (const Selector &)=default |
| Selector (Selector &&)=delete | |
| Selector & | operator= (Selector &&)=delete |
Static Private Member Functions | |
| static const FF & | zero_value () |
Private Attributes | |
| Tiles * | tiles_ |
| const size_t * | num_rows_ |
| GateKind | kind_ |
Column view over the gate selector of one kind in the row-major gate storage: rows whose gate_kind matches read their gate_value, all other rows read zero.
Definition at line 245 of file execution_trace_block.hpp.
| using bb::GateSelectorColumn< FF, NUM_WIRES >::Tile = GateTile<FF, NUM_WIRES> |
Definition at line 247 of file execution_trace_block.hpp.
| using bb::GateSelectorColumn< FF, NUM_WIRES >::Tiles = std::vector<Tile> |
Definition at line 248 of file execution_trace_block.hpp.
|
inline |
Definition at line 250 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Get the last value in the selector.
Implements bb::Selector< FF >.
Definition at line 277 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Bulk-copy count values of this column starting at start into dst (tile-wise, avoiding a virtual call per element).
Implements bb::Selector< FF >.
Definition at line 282 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Implements bb::Selector< FF >.
Definition at line 280 of file execution_trace_block.hpp.
|
inline |
Definition at line 298 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Get value at specified index.
Implements bb::Selector< FF >.
Definition at line 271 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Set the value at index using a field element.
Implements bb::Selector< FF >.
Definition at line 257 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Set the value at index using integer.
Implements bb::Selector< FF >.
Definition at line 256 of file execution_trace_block.hpp.
|
inlineoverridevirtual |
Implements bb::Selector< FF >.
Definition at line 279 of file execution_trace_block.hpp.
|
inlinestaticprivate |
Definition at line 301 of file execution_trace_block.hpp.
|
private |
Definition at line 309 of file execution_trace_block.hpp.
|
private |
Definition at line 308 of file execution_trace_block.hpp.
|
private |
Definition at line 307 of file execution_trace_block.hpp.