add some stuff
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@@ -4,11 +4,10 @@ void test() {
|
||||
Matrix<float> mat{"matrice5x5.mat"};
|
||||
mat.Print();
|
||||
// mat.Save("matrice3x3.mat");
|
||||
mat.GaussJordan(true);
|
||||
std::cout << "sdfdjiofoseifheoiefhoig\n";
|
||||
mat.Print();
|
||||
mat = {"matrice5x5.mat"};
|
||||
mat.GaussJordan(false);
|
||||
mat.GaussJordan(false, true);
|
||||
std::cout << "\nResultat :\n";
|
||||
mat.Print();
|
||||
mat.Transpose();
|
||||
@@ -30,13 +29,16 @@ void prompt() {
|
||||
mat.Insert();
|
||||
|
||||
mat.Print();
|
||||
mat.GaussJordan(true);
|
||||
Matrix<float> aug = mat.GaussJordan(true, true);
|
||||
std::cout << std::endl;
|
||||
std::cout << "Matrice echelonnee reduite" << std::endl;
|
||||
mat.Print();
|
||||
std::cout << "Matrice augmentee" << std::endl;
|
||||
aug.Print();
|
||||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
test();
|
||||
// test();
|
||||
prompt();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user