sheet 5 not tested

This commit is contained in:
Markus Schmidt 2025-12-02 20:28:11 +01:00
commit 64c7aed176
169 changed files with 225337 additions and 0 deletions

27
sheet5/4/benchmark.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef BENCHMARK_H
#define BENCHMARK_H
#include <vector>
using namespace std;
double benchmark_A(const vector<double> &x,
const vector<double> &y);
double benchmark_A_sum(const vector<double> &x);
vector<double> benchmark_B(const vector<double> &A,
const vector<double> &x);
vector<double> benchmark_C(const vector<double> &A,
const vector<double> &B,
unsigned int M);
vector<double> benchmark_D(const vector<double> &coefficients,
const vector<double> &x);
double benchmark_A_old(const vector<double> &x,
const vector<double> &y);
double benchmark_A_sum_old(const vector<double> &x);
#endif