EigenvalueDecomposition { public Matrix getV() { return new Matrix(this.v); } EigenvalueDecomposition(final Matrix matrix); Matrix getD(); double[] getImagEigenvalues(); double[] getRealEigenvalues(); Matrix getV();  }
@Test public void testGetV_asymentric() { EigenvalueDecomposition decomposition = new EigenvalueDecomposition(matrix1); Matrix d = decomposition.getV(); assertEquals(2, d.getCols()); assertEquals(2, d.getRows()); assertEquals(2.9983328701, d.get(0, 0), 1e-10); assertEquals(-1.1, d.get(0, 1), 1e-10); assertEquals(0.0, d.get(1, 0), 1e-10); assertEquals(1.0, d.get(1, 1), 1e-10); }