more example
All checks were successful
Linux arm64 / Build (push) Successful in 8m58s

This commit is contained in:
2024-02-14 20:30:16 +01:00
parent d91d35a3af
commit a016163b86

View File

@@ -1,4 +1,4 @@
#include "Matrix.h"
#include "Vect.h"
#include <iostream>
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() {