I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++.
Here\'s an example of the equations:
-44.3940 =
In terms of run-time efficiency, others have answered better than I. If you always will have the same number of equations as variables, I like Cramer's rule as it's easy to implement. Just write a function to calculate determinant of a matrix (or use one that's already written, I'm sure you can find one out there), and divide the determinants of two matrices.