Task 3 is ok!

This commit is contained in:
AZEN-SGG 2025-03-26 16:19:57 +03:00
parent 3eb349f81c
commit 335d164b10
7 changed files with 41 additions and 19 deletions

View file

@ -1,8 +1,8 @@
#ifndef SOLVE_H
#define SOLVE_H
void t2_solve(const double * restrict A, double * restrict x_0, const double * restrict b, double * restrict x, int n, int m, double t);
double t2_get_r1(const double * restrict A, const double * restrict x_k, const double * restrict b, int n);
double t2_get_r2_value(const double * restrict x_k, int n);
void t3_solve(const double * restrict A, double * restrict x_0, const double * restrict b, double * restrict x, double * restrict r, int n, int m);
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