Instructions
- Set the matrix size using + or - buttons
- Input integers into the matrix
- Click 'Calculate' button to run the algorithm
Specifications
- Ensure that the matrix is complete without lacking or empty values since it calculates with empty array and lacking input cell
- Matrix Size is limited to 2x2 until 4x4
- Integers are the only allowed inputs for a successful computation
- Guaranteed successful calculation are integers with only 2 digits
- Checks if there are any leading minors equal to zero before proceeding with the algorithm
- The algorithm doesn't include permutation
Conclusion
LU factorization is a matrix decomposition method that can be used to solve systems of linear equations, invert matrices, and compute the determinant of a matrix. It factors a matrix into the product of a lower triangular matrix and an upper triangular matrix. The development of LU factorization requires a deeper knowledge of the algorithm in order to handle various use cases. This is because recursion is used in the calculation, and the fundamentals of programming languages must be understood. For example, JavaScript arrays and matrices behave differently from C arrays and matrices, especially with objects (references) versus pointers.