This commit is contained in:
18
src/main.cpp
18
src/main.cpp
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user