Add replace between rows and strings, but this needs some work
This commit is contained in:
parent
f4c4a78fa0
commit
a7803c4e26
15 changed files with 153 additions and 50 deletions
9
2025.04.04/14Ex/matrix.h
Normal file
9
2025.04.04/14Ex/matrix.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef MATRIX_H
|
||||
#define MATRIX_H
|
||||
|
||||
void init_vec_b(const double * restrict a, double * restrict b, int n);
|
||||
void matvec_mul(int n, const double * restrict A, const double * restrict x, double * restrict x_k);
|
||||
double get_r1(const double * restrict A, const double * restrict x_k, const double * restrict b, int n);
|
||||
double get_r2_value(const double * restrict x_k, int n);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue