⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vmatrix2.dat

📁 basic linear algebra classes and applications (SVD,interpolation, multivariate optimization)
💻 DAT
字号:
./vmatrix2-------------------------------------------------------------------------------		Verify Advanced Operations on Matrices---> Verify determinant evaluationfor a square matrix of size 20Check to see that the determinant of the unit matrix is one	determinant is 1Check the determinant for the matrix with 2.5	at the diagonal	determinant is 9.09495e+07Check the determinant of the transposed matrixswap two rows/cols of a matrix and watch det's signCheck the determinant for the matrix with 2.5	at the anti-diagonalCheck the determinant for the singular matrix	defined as above with zero first row	determinant is 0Check out the determinant of the Hilbert matrix    3x3 Hilbert matrix: exact determinant 1/2160                               computed    1/2159.99    4x4 Hilbert matrix: exact determinant 1/6048000                               computed    1/6.04788e+06    5x5 Hilbert matrix: exact determinant 3.749295e-12                              computed    3.75127e-12    7x7 Hilbert matrix: exact determinant 4.8358e-25                              computed    6.54014e-25    9x9 Hilbert matrix: exact determinant 9.72023e-43                              computed    -1.10127e-39    10x10 Hilbert matrix: exact determinant 2.16418e-53                              computed    -3.15323e-47Done---> Verify matrix multiplicationsfor matrices of the characteristic size 20Test inline multiplications of the UnitMatrixTest inline multiplications by a DiagMatrixTest XPP = X where P is a permutation matrixTest general matrix multiplication through inline multCheck to see UU' = U'U = E when U is the Haar matrixTwo (27,27) elements of matrices with values 1 and 1differ the most, although the deviation 5.96046e-08 is smallTwo (27,27) elements of matrices with values 1 and 1differ the most, although the deviation 5.96046e-08 is smallTwo (32,32) elements of matrices with values 1 and 1differ the most, although the deviation 5.96046e-08 is smallTwo (32,32) elements of matrices with values 1 and 1differ the most, although the deviation 5.96046e-08 is smallTwo (32,32) elements of matrices with values 1 and 1differ the most, although the deviation 5.96046e-08 is smallDone---> Verify vector-matrix multiplicationsfor matrices of the characteristic size 20Check shrinking a vector by multiplying by a non-sq unit matrixCheck expanding a vector by multiplying by a non-sq unit matrixCheck general matrix-vector multiplicationDone---> Verify matrix inversion for square matricesof size 20Test invesion of a diagonal matrixTest invesion of an orthonormal (Haar) matrixTwo (5,4) elements of matrices with values 8.97181e-09 and 0differ the most, although the deviation 8.97181e-09 is smallTwo (5,7) elements of matrices with values 0.707107 and 0.707107differ the most, although the deviation 5.96046e-08 is smallTest invesion of a good matrix with diagonal dominance	computed determinant             4.69592	determinant returned by invert() 4.69592	check to see M^(-1) * M is ETwo (11,11) elements of matrices with values 1 and 1differ the most, although the deviation 3.57628e-07 is small	check to see M * M^(-1) is ETwo (11,11) elements of matrices with values 1 and 1differ the most, although the deviation 3.57628e-07 is smallDoneAll tests passedCompilation finished at Fri Dec 25 23:09:17

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -