LU Decomposition refactors the original matrix such that:
LU Decomposition is useful since once the decomposition has been performed linear equations can be quickly solved and the original matrix A inverted. Different algorithms can be selected to perform the decomposition, all will have the same end result.
To use this class first specify the size of the matrix that will be decomposed by it in the constructor. Only square m by m matrices can be decomposed. Then to decompose a matrix call {@link #decompose}. If it encounters any problems an exception will be thrown. After that all the other functions will be available for solving and inverting matrices.
@author Peter Abeles
|
|
|
|