diff --git a/src/main.cpp b/src/main.cpp index 1e71236..8d66b28 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,4 @@ -#include "Matrix.h" +#include "Vect.h" #include void test() { @@ -15,6 +15,22 @@ void test() { std::cout << "<<\nTransposée:\n"; mat.Print(); // mat.Save("matrice4x4echelonne.mat"); + + Matrix mat2 {"matrice4x4.mat"}; + mat2.Print(); + + mat2.Transpose(); + std::cout << "Transposée : \n"; + mat2.Print(); + + mat2.GaussJordan(true); + mat2.Transpose(); + + std::cout << "Echelonnée en colonne :\n"; + mat2.Print(); + + Vect sol {mat2}; + sol.Print(); } void prompt() {