Actually I am new to this topic. I read few tutorials about LU decomposition of matrix in the net. A = LU ; A - actual matrix, L - Lower triangular matrix, U - Upper triangular matrix.Few people say that, principal diagonal elements of L should be unity. Some others say that, principal diagonal elements of U should be unity. Pls clarify. or else suggest me some suitable method for LU decomposition of a matrix. Thanks.