Tag Archives: Gaussian elimination

Find a matrix inverse in C#

This example finds a matrix inverse for a square matrix. The inverse of a matrix is another matrix that, when multiplied by the first, gives the identity matrix as a result. In the identity matrix, all entries are 0 except … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Solve a system of equations with Gaussian elimination in C#

This example shows how to use Gaussian elimination to solve a linear system of equations of the form: A1*x1 + B1*x2 + … + N1*xn = C1 A2*x1 + B2*x2 + … + N2*xn = C2 … An*x1 + Bn*x2 … Continue reading

Posted in algorithms, mathematics | Tagged , , , , , , , , , | 3 Comments