Task 14 doesn't work correctly

This commit is contained in:
AZEN-SGG 2025-04-02 00:14:36 +03:00
parent f21c2aaf05
commit b4c7f2d872
8 changed files with 165 additions and 76 deletions

View file

@ -3,7 +3,7 @@
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);
double get_r1(const int n, const double * restrict A, const double * restrict X);
double get_r2(const int n, const double * restrict A, const double * restrict X);
#endif