|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Insert a random element at a random index. More...
Static Public Member Functions | |
| template<typename T > | |
| static void | mutate (std::mt19937_64 &rng, std::vector< T > &vec, std::function< T(std::mt19937_64 &)> generate_random_element_function) |
Insert a random element at a random index.
This file contains mechanisms for deterministically mutating a given vector Types of mutations applied:
Definition at line 20 of file vector.cpp.
|
inlinestatic |
Definition at line 22 of file vector.cpp.