Inv(M) = Inverse of matrix M:
One way to invert a square n by n matrix M is to do a LU decomposition of matrix M and then do n LU back substitutions to solve for each column of the inverse. If one of the diagonal elements of U is zero, the matrix M is singular and cannot be inverted.
Return to Matrix and Polynomial Computations
Return to Harry's Home Page