@Test
public void testGetD_symentric() {

	EigenvalueDecomposition decomposition =
			new EigenvalueDecomposition(matrix2);
	Matrix d = decomposition.getD();
	assertEquals(2, d.getCols());
	assertEquals(2, d.getRows());
	assertEquals(-5.2008771255, d.get(0, 0), 1e-10);
	assertEquals(0.0, d.get(0, 1), 1e-10);
	assertEquals(0.0, d.get(1, 0), 1e-10);
	assertEquals(6.2008771255, d.get(1, 1), 1e-10);
}