#ifndef UTILS_HPP #define UTILS_HPP #include // Function to initialize a vector with random numbers void initialize_vector(std::vector& v) { std::random_device rd; std::mt19937 gen(rd()); std::uniform_real_distribution dis(0.0f, 1.0f); for (auto& elem : v) { elem = dis(gen); } } #endif //UTILS_HPP