On Monday, 16 May 2016 at 18:57:24 UTC, Walter Bright wrote:
On 5/16/2016 7:32 AM, Andrei Alexandrescu wrote:
It is rare to need to actually compute the inverse of a matrix. Most of the time it's of interest to solve a linear equation of the form Ax = b, for which a variety of good methods exist that don't entail computing the actual inverse.

I was solving n equations with n unknowns.


LU decomposition is the more common approach.

atlab has a backslash operator to solve systems of equations with LU decomposition:

http://www.mathworks.com/help/matlab/ref/inv.html#bu6sfy8-1

Reply via email to