Mastering Lu And Ldu Factorization: Unlocking Matrix Decomposition For Efficient Computations