Implementing gaussian elimination and pivoting in c++
Find a file
Bernard Joseph Jean Bruno 8a8d84da96 Documentation
2017-12-10 00:56:30 +04:00
PROJET MATHS.cpp Projet Maths 2016 2017-12-10 00:29:09 +04:00
README.md Documentation 2017-12-10 00:56:30 +04:00

Description

In linear algebra, Gaussian elimination (also known as row reduction) is an algorithm for solving systems of linear equations. It is usually understood as a sequence of operations performed on the corresponding matrix of coefficients. This method can also be used to find the rank of a matrix, to calculate the determinant of a matrix, and to calculate the inverse of an invertible square matrix. The method is named after Carl Friedrich Gauss (17771855)

How to compile it ?

Command:

g++

On linux, a command is called gcc, used to compile C and C++.

g++ filename.cpp -o filename

To execute:

./filename

Or use your main C++ IDE which have it's compiler built-in.

Optional

You can edit the source code. The file contains the codes and a link which can be used to test the code; values are available there and some descriptions. You can also fork and translate the file so that you can understand what's happening.

To Linux users

You can remove the system("cls") command which is a window command to clear screen, you can replace it with whatever you find appropriate.