Skip to content
Snippets Groups Projects
diagonalizationtest.txt 2.59 KiB
Newer Older
Matrix A before diagonalization:
        180.429	        84.6931	        168.169	        171.464	        195.775	
        84.6931	        42.4238	        71.9885	        164.976	        59.6517	
        168.169	        71.9885	        118.964	         102.52	        135.049	
        171.464	        164.976	         102.52	        78.3369	        110.252	
        195.775	        59.6517	        135.049	        110.252	         204.49	
Matrix D after diagonalization:
       -119.571	   -5.30287e-46	   -2.73589e-48	   -1.06523e-47	    1.64215e-47	
     1.5952e-15	       -26.5312	    -1.0691e-50	     2.0715e-56	    1.42741e-55	
    -6.6695e-16	    1.29471e-14	        14.8524	    5.01143e-52	   -1.59309e-57	
    -2.3087e-14	     1.4888e-14	   -1.29251e-15	         98.987	    6.37237e-58	
   -2.61244e-14	     3.2599e-14	   -1.27565e-14	   -2.71848e-14	        656.906	
Eigenvector matrix V:
      -0.284865	       0.756261	       0.168984	     -0.0873305	        0.55744	
      -0.624185	      -0.327753	      -0.217449	       0.610858	       0.287297	
      0.0720496	      -0.465468	       0.769646	      -0.099409	       0.419417	
       0.723837	      0.0659931	      -0.189576	       0.511012	       0.417892	
      0.0107027	      -0.315645	      -0.543936	      -0.590094	       0.506139	
The product VtAV which should be equal to D:
       -119.571	   -2.08167e-16	   -2.52992e-14	    8.10463e-15	   -1.22125e-13	
   -6.27276e-15	       -26.5312	    4.66294e-14	   -1.42109e-14	   -4.26326e-14	
   -2.58682e-14	    3.37508e-14	        14.8524	   -3.55271e-15	    5.68434e-14	
    4.77396e-15	   -3.55271e-15	   -2.66454e-15	         98.987	   -8.52651e-14	
    -1.1191e-13	   -4.17444e-14	    4.26326e-14	   -8.52651e-14	        656.906	
The product VDVt which should be equal to A:
        180.429	        84.6931	        168.169	        171.464	        195.775	
        84.6931	        42.4238	        71.9885	        164.976	        59.6517	
        168.169	        71.9885	        118.964	         102.52	        135.049	
        171.464	        164.976	         102.52	        78.3369	        110.252	
        195.775	        59.6517	        135.049	        110.252	         204.49	
The product VtV which should be equal to I:
              1	     4.0766e-17	   -4.25007e-17	   -1.56125e-16	   -1.70003e-16	
     4.0766e-17	              1	   -5.55112e-17	    5.55112e-17	   -2.77556e-17	
   -4.25007e-17	   -5.55112e-17	              1	    1.66533e-16	    1.11022e-16	
   -1.56125e-16	    5.55112e-17	    1.66533e-16	              1	    5.55112e-17	
   -1.70003e-16	   -2.77556e-17	    1.11022e-16	    5.55112e-17	              1