Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
vector.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <functional>
4#include <random>
5#include <vector>
6
8
9template <typename T>
11 std::mt19937_64& rng,
12 std::function<void(T&, std::mt19937_64&)> mutate_element_function,
13 std::function<T(std::mt19937_64&)> generate_random_element_function,
14 const VecMutationConfig& config);
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
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 vector.cpp:78