#include #include #include "test_compute.hpp" int main() { std::random_device rd; // Will be used to obtain a seed for the random number engine std::mt19937 gen(rd()); // Standard mersenne_twister_engine seeded with rd() std::uniform_real_distribution<> dis(1.0, 2.0); int n = 10; double* X = static_cast(calloc(n,sizeof(double))); for(int i = 0; i(calloc(n,sizeof(double))); compute(X, F_x, n); std::cout << "\n" << F_x[0]; for (int i=1; i