commons-math
commons-math copied to clipboard
[MATH-1390] LUDecomposition slow on larger matrices
Minimal changes to revert 'LUDecomposition' to the (original) faster JAMA implementation + some stylistic changes. Performance gain is ca. 10x for matrices of size 1500 x 1500. Added two new JUnit tests in 'LUDecompositionTest' to check large matrices and the Solver class. TODO: 'FieldLUDecomposition' should be revised analogously.