|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Copy cycles for all variables of a circuit in CSR (flat) form. More...
#include <permutation_lib.hpp>
Public Member Functions | |
| size_t | size () const |
| std::span< const cycle_node > | operator[] (size_t i) const |
Public Attributes | |
| std::vector< uint32_t > | offsets |
| std::vector< cycle_node > | nodes |
Copy cycles for all variables of a circuit in CSR (flat) form.
One cycle per real variable; cycle i occupies nodes[offsets[i] .. offsets[i+1]). A flat layout avoids materializing one heap-allocated vector per variable (hundreds of thousands per circuit).
Definition at line 49 of file permutation_lib.hpp.
|
inline |
Definition at line 54 of file permutation_lib.hpp.
|
inline |
Definition at line 53 of file permutation_lib.hpp.
| std::vector<cycle_node> bb::CopyCycles::nodes |
Definition at line 51 of file permutation_lib.hpp.
| std::vector<uint32_t> bb::CopyCycles::offsets |
Definition at line 50 of file permutation_lib.hpp.