sheet3
This commit is contained in:
parent
56614805cf
commit
2195a9db0a
51 changed files with 13038 additions and 0 deletions
29
sheet3/345/benchmark.h
Normal file
29
sheet3/345/benchmark.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef BENCHMARK_H
|
||||
#define BENCHMARK_H
|
||||
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
double benchmark_A(const vector<double> &x,
|
||||
const vector<double> &y);
|
||||
|
||||
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 norm2(const vector<double>& x);
|
||||
double scalar_kahan(const vector<double>& x, const vector<double>& y);
|
||||
|
||||
vector<double> matrixMultColumnWise(const vector<double> &A,
|
||||
const vector<double> &B,
|
||||
unsigned int M);
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue