solver rework + refactor
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user