image thumbnail

updated almost 2 years ago

Matrix Inverse using LU factorization by Dirk-Jan Kroon

Example code LU decomposition with partial pivoting, also forward substitution, and Matrix inverse. (lu, lu factorization, lu decomposition)

Ainv=MatrixInverse(A)

C=TriangleBackwardSub(U,b)

C=TriangleForwardSub(L,b)

Contact us