|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Read (and targeted-write) interface over one selector column. More...
#include <execution_trace_block.hpp>
Public Member Functions | |
| Selector ()=default | |
| virtual | ~Selector ()=default |
| Selector (const Selector &)=default | |
| Selector & | operator= (const Selector &)=default |
| Selector (Selector &&)=delete | |
| Selector & | operator= (Selector &&)=delete |
| virtual void | set (size_t idx, int value)=0 |
| Set the value at index using integer. | |
| virtual void | set (size_t idx, const FF &value)=0 |
| Set the value at index using a field element. | |
| virtual const FF & | operator[] (size_t index) const =0 |
| Get value at specified index. | |
| virtual const FF & | back () const =0 |
| Get the last value in the selector. | |
| virtual size_t | size () const =0 |
| virtual bool | empty () const =0 |
| virtual void | copy_into (FF *dst, size_t start, size_t count) const =0 |
Bulk-copy count values of this column starting at start into dst (tile-wise, avoiding a virtual call per element). | |
Read (and targeted-write) interface over one selector column.
Columns are views into the row-major gate storage; appending happens exclusively through ExecutionTraceBlock::append_gate, so this interface deliberately has no append or resize — a misdirected per-column append is a compile error.
Definition at line 150 of file execution_trace_block.hpp.
|
default |
|
virtualdefault |
|
default |
|
delete |
|
pure virtual |
Get the last value in the selector.
Implemented in bb::SelectorColumn< FF, NUM_WIRES >, bb::SelectorColumn< bb::field, NUM_WIRES >, bb::GateSelectorColumn< FF, NUM_WIRES >, and bb::GateSelectorColumn< bb::field, NUM_WIRES >.
|
pure virtual |
Bulk-copy count values of this column starting at start into dst (tile-wise, avoiding a virtual call per element).
Implemented in bb::SelectorColumn< FF, NUM_WIRES >, and bb::GateSelectorColumn< FF, NUM_WIRES >.
|
pure virtual |
|
pure virtual |
Get value at specified index.
Implemented in bb::SelectorColumn< FF, NUM_WIRES >, bb::SelectorColumn< bb::field, NUM_WIRES >, bb::GateSelectorColumn< FF, NUM_WIRES >, and bb::GateSelectorColumn< bb::field, NUM_WIRES >.
|
pure virtual |
Set the value at index using a field element.
Implemented in bb::SelectorColumn< FF, NUM_WIRES >, and bb::GateSelectorColumn< FF, NUM_WIRES >.
|
pure virtual |
Set the value at index using integer.
Implemented in bb::SelectorColumn< FF, NUM_WIRES >, bb::SelectorColumn< bb::field, NUM_WIRES >, bb::GateSelectorColumn< FF, NUM_WIRES >, and bb::GateSelectorColumn< bb::field, NUM_WIRES >.
|
pure virtual |