DenseMatrix64F A = RandomMatrices.createRandom(width,width,rand);
LUDecompositionAlt lu = new LUDecompositionAlt();
lu.decompose(A);
double luVal = lu.computeDeterminant();
DeterminantFromMinor minor = new DeterminantFromMinor(width);
double minorVal = minor.compute(new DenseMatrix64F(width,width, true, A.data));
assertEquals(luVal,minorVal,1e-6);