Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
vector.hpp File Reference
#include <functional>
#include <random>
#include <vector>
#include "barretenberg/avm_fuzzer/mutations/configuration.hpp"

Go to the source code of this file.

Functions

template<typename T >
void mutate_vec (std::vector< T > &vec, std::mt19937_64 &rng, std::function< void(T &, std::mt19937_64 &)> mutate_element_function, std::function< T(std::mt19937_64 &)> generate_random_element_function, const VecMutationConfig &config)
 

Function Documentation

◆ mutate_vec()

template<typename T >
void mutate_vec ( std::vector< T > &  vec,
std::mt19937_64 rng,
std::function< void(T &, std::mt19937_64 &)>  mutate_element_function,
std::function< T(std::mt19937_64 &)>  generate_random_element_function,
const VecMutationConfig config 
)

Definition at line 78 of file vector.cpp.