luDecomposition abstract method

List<Matrix<T>> luDecomposition()

Factors the matrix as the product of a lower triangular matrix L and an upper triangular matrix U. The matrix must be square.

The returned list contains L at index 0 and U at index 1.

A MatrixException object is thrown if the matrix isn't square.

Implementation

List<Matrix<T>> luDecomposition();