@Test
public void testDet() throws Exception {

    double[][] data1 = {
        {-2, 2, -3},
        {-1, 1, 3},
        {2, 0, -1},
    };
    DenseMatrix matA = new DenseMatrix(data1);
    Assert.assertEquals(matA.det(), 18.0, TOL);
}