|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Public Member Functions | |
| bus_vector (const BusId bus_idx) | |
| void | set_values (const std::vector< field_pt > &entries_in) |
| Set the entries of the bus vector from possibly unnormalized or constant inputs. | |
| field_pt | operator[] (const field_pt &index) const |
| Read from the bus vector with a witness index value. Creates a read gate. | |
| size_t | size () const |
| Builder * | get_context () const |
Private Types | |
| using | field_pt = field_t< Builder > |
Private Attributes | |
| std::vector< field_pt > | entries |
| size_t | length = 0 |
| BusId | bus_idx |
| Builder * | context = nullptr |
Definition at line 21 of file databus.hpp.
|
private |
Definition at line 23 of file databus.hpp.
|
inline |
Definition at line 26 of file databus.hpp.
|
inline |
Definition at line 50 of file databus.hpp.
| field_t< Builder > bb::stdlib::databus< Builder >::bus_vector::operator[] | ( | const field_pt & | index | ) | const |
Read from the bus vector with a witness index value. Creates a read gate.
| index |
Definition at line 42 of file databus.cpp.
| void bb::stdlib::databus< Builder >::bus_vector::set_values | ( | const std::vector< field_pt > & | entries_in | ) |
Set the entries of the bus vector from possibly unnormalized or constant inputs.
| Builder |
| entries_in |
Definition at line 14 of file databus.cpp.
|
inline |
Definition at line 49 of file databus.hpp.
|
private |
Definition at line 55 of file databus.hpp.
|
mutableprivate |
Definition at line 56 of file databus.hpp.
|
mutableprivate |
Definition at line 53 of file databus.hpp.
|
private |
Definition at line 54 of file databus.hpp.