Exercises_MarkusSchmidt/sheet5/4/benchmark.h
2025-12-02 20:28:11 +01:00

27 lines
809 B
C++

#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