- #1
nawidgc
- 25
- 0
Is it possible to obtain a solution of the linear system Ax = b with LU decomposition when A contains zeros on its diagonal? I am trying to obtain a solution with LU decomposition and then perform a forward/backward substitution but I get NaN entries in the solution vector x. The condition number of my matrix is 10^8. Appreciate any help/comments.