vmatrix1.dat
来自「basic linear algebra classes and applica」· DAT 代码 · 共 47 行
DAT
47 行
./vmatrix1------------------------------------------------------------------------------- Verify less trivial Operations on Matrices---> Verify norm calculationsAssign 10.25 to all the elements and check norms 1. (col) norm should be pattern*nrows Inf (row) norm should be pattern*ncols Square of the Eucl norm has got to be pattern^2 * no_elemsDone---> Check creating some special matrices of dimension 20test creating Hilbert matricestest creating zero matrix and copy constructortest creating unit matricescheck to see that Haar matrix has *exactly* orthogonal columnsmake Haar (sub)matrix and test it *is* a submatrixDone---> Check making/forcing promises, (lazy)matrices of dimension 20make a promise and force it by a constructormake a promise and force it by an assignmentDone---> Verify matrix transposefor matrices of a characteristic size 20Check to see that a square UnitMatrix' stays the sameTest a non-square UnitMatrixCheck to see that a symmetric (Hilbert)Matrix' stays the sameCheck transposing a non-symmetric matrixCheck double transposing a non-symmetric matrixDoneAll test passedCompilation finished at Fri Dec 25 23:08:18
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?