|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Insert a random element at a random index. More...
#include <vector.hpp>
Static Public Member Functions | |
| template<typename T , typename GenerateFn > | |
| static void | mutate (std::mt19937_64 &rng, std::vector< T > &vec, GenerateFn &&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 17 of file vector.hpp.
|
inlinestatic |
Definition at line 19 of file vector.hpp.