First task is done

This commit is contained in:
AZEN-SGG 2025-03-23 18:47:53 +03:00
parent 02b8132a94
commit 2cf18a1ff3
48 changed files with 857 additions and 1217 deletions

9
2025.03.28/01Ex/solve.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef SOLVE_H
#define SOLVE_H
double t1_solve(double * restrict A, double * restrict x_0, double * restrict x, int n, int m);
void matvec_mul(int n, double * restrict A, double * restrict x, double * restrict x_k);
double t1_get_eigenvalue_approx(double * restrict A, double * restrict x_k, double * restrict x, int n);
double t1_get_residual_norm(double * restrict x_k, double * restrict x, int n, double r1);
#endif