246247248249250251252253254255256
// found.print(); // expected.print(); // assertTrue(expected.equals(found)); assertArrayEquals(expected.toDoubleArray(), found.toDoubleArray(), 1e-6); } /** * Extracts the rank of a matrix using a preexisting decomposition. *