solver rework + refactor

This commit is contained in:
2024-03-06 21:24:15 +01:00
parent 259750a794
commit 99624d1b00
10 changed files with 191 additions and 163 deletions

View File

@@ -23,10 +23,10 @@ void test() {
Matrix mat2 = LoadMatrix("matrice4x4.mat");
Print(mat2);
Solver solver {mat2};
Solver solver;
Vect image = solver.Image();
Vect noyau = solver.Kernel();
Vect image = solver.Image(mat2);
Vect noyau = solver.Kernel(mat2);
std::cout << "\tImage :\n";
Print(image);
@@ -38,7 +38,7 @@ void test() {
Print(noyau.GetLinearSystem());
std::cout << "\n\n";
Print(solver.TriangularSystem());
// Print(solver.TriangularSystem(mat2));
}
void prompt() {