03 June 2024 03:13:14 PM eispack_test(): C version. Test eispack(). TEST06 RS computes the eigenvalues and eigenvectors of a real symmetric matrix. Matrix order = 4 The matrix A: Col: 0 1 2 3 Row 0: 5.000000 4.000000 1.000000 1.000000 1: 4.000000 5.000000 1.000000 1.000000 2: 1.000000 1.000000 4.000000 2.000000 3: 1.000000 1.000000 2.000000 4.000000 The eigenvalues Lambda: 0: 1.000000 1: 2.000000 2: 5.000000 3: 10.000000 The eigenvector matrix: Col: 0 1 2 3 Row 0: 0.707107 -0.000000 0.316228 0.632456 1: -0.707107 -0.000000 0.316228 0.632456 2: 0.000000 0.707107 -0.632456 0.316228 3: 0.000000 -0.707107 -0.632456 0.316228 The residual (A-Lambda*I)*X: Col: 0 1 2 3 Row 0: 0.000000 -0.000000 -0.000000 0.000000 1: 0.000000 -0.000000 0.000000 0.000000 2: 0.000000 0.000000 -0.000000 -0.000000 3: 0.000000 -0.000000 0.000000 0.000000 TEST065 RS computes the eigenvalues and eigenvectors of a real symmetric matrix. Matrix order = 3 The matrix A: Col: 0 1 2 Row 0: 0.218418 0.759007 0.543544 1: 0.759007 0.415307 0.088038 2: 0.543544 0.088038 0.043829 The eigenvalues Lambda: 0: -0.654749 1: 0.089759 2: 1.242544 The eigenvector matrix: Col: 0 1 2 Row 0: -0.723678 0.162643 0.670699 1: 0.471882 -0.592551 0.652848 2: 0.503604 0.788943 0.352068 The residual (A-Lambda*I)*X: Col: 0 1 2 Row 0: 0.000000 -0.000000 0.000000 1: 0.000000 -0.000000 0.000000 2: 0.000000 0.000000 0.000000 TEST07 RSB computes the eigenvalues and eigenvectors of a real symmetric band matrix. Matrix order = 5 The matrix A: Col: 0 1 2 3 4 Row 0: 2.000000 -1.000000 0.000000 0.000000 0.000000 1: -1.000000 2.000000 -1.000000 0.000000 0.000000 2: 0.000000 -1.000000 2.000000 -1.000000 0.000000 3: 0.000000 0.000000 -1.000000 2.000000 -1.000000 4: 0.000000 0.000000 0.000000 -1.000000 2.000000 The eigenvalues Lambda: 0: 0.267949 1: 1.000000 2: 2.000000 3: 3.000000 4: 3.732051 The eigenvector matrix X: Col: 0 1 2 3 4 Row 0: 0.288675 0.500000 -0.577350 -0.500000 0.288675 1: 0.500000 0.500000 0.000000 0.500000 -0.500000 2: 0.577350 -0.000000 0.577350 0.000000 0.577350 3: 0.500000 -0.500000 0.000000 -0.500000 -0.500000 4: 0.288675 -0.500000 -0.577350 0.500000 0.288675 The residual (A-Lambda*I)*X: Col: 0 1 2 3 4 Row 0: 0.000000 -0.000000 0.000000 0.000000 -0.000000 1: 0.000000 0.000000 0.000000 0.000000 -0.000000 2: -0.000000 -0.000000 -0.000000 0.000000 -0.000000 3: 0.000000 0.000000 -0.000000 0.000000 -0.000000 4: -0.000000 0.000000 0.000000 0.000000 0.000000 eispack_test() Normal end of execution. 03 June 2024 03:13:14 PM