📄 test_exc.txt
字号:
This tests the exception system, so you will geta long list of error messages-----------------------------------------Incompatible dimensionsAn exception has been thrownLogic error:- detected by Newmat: incompatible dimensionsMatrixType = Rect # Rows = 2; # Cols = 3MatrixType = Rect # Rows = 2; # Cols = 3MatrixType = Rect # Rows = 4; # Cols = 5Trace: GeneralAdd; Block A; Test.-----------------------------------------Bad indexAn exception has been thrownLogic error:- detected by Newmat: index error: requested indices = 3, 3MatrixType = Rect # Rows = 2; # Cols = 3Trace: Block B; Test.-----------------------------------------Illegal conversionAn exception has been thrownLogic error:- detected by Newmat: Illegal ConversionMatrixTypes = Rect ; UT Trace: Block C; Test.-----------------------------------------Invert non-square matrix - 1An exception has been thrownLogic error:- detected by Newmat: matrix is not squareMatrixType = Rect # Rows = 2; # Cols = 3Trace: CroutMatrix; Block D; Test.-----------------------------------------Invert non-square matrix - 2An exception has been thrownLogic error:- detected by Newmat: matrix is not squareMatrixType = Rect # Rows = 2; # Cols = 3Trace: GeneralSolvI; InvertedMatrix::Evaluate; Block E; Test.-----------------------------------------Non 1x1 matrix to scalarAn exception has been thrownLogic error:- detected by Newmat: Cannot convert to scalarMatrixType = Rect # Rows = 2; # Cols = 3Trace: AsScalar; Block F; Test.-----------------------------------------Matrix to vectorAn exception has been thrownLogic error:- detected by Newmat: cannot convert matrix to vectorMatrixType = Rect # Rows = 2; # Cols = 3Trace: ColumnVector; Block G; Test.-----------------------------------------Invert singular matrixAn exception has been thrownRuntime error:- detected by Newmat: matrix is singularMatrixType = Crout # Rows = 2; # Cols = 2Trace: Crout(lubksb); GeneralSolvI; InvertedMatrix::Evaluate; Block H; Test.-----------------------------------------SubMatrix errorAn exception has been thrownLogic error:- detected by Newmat: incompatible submatrix dimensionTrace: SubMatrix(evaluate); Block I; Test.-----------------------------------------SubMatrix errorAn exception has been thrownLogic error:- detected by Newmat: incompatible submatrix dimensionTrace: SubMatrix(row); Block J; Test.-----------------------------------------Cholesky errorAn exception has been thrownRuntime error:- detected by Newmat: matrix not positive definiteMatrixType = Sym # Rows = 50; # Cols = 50Trace: Cholesky; Block K; Test.-----------------------------------------Inequality errorAn exception has been thrownLogic error:- detected by Newmat: inequalities not defined for matricesTrace: Block L; Test.-----------------------------------------Maximum of empty matrixAn exception has been thrownLogic error:- detected by Newmat: Maximum or minimum of null matrixTrace: Block M; Test.-----------------------------------------Incorrectly ReSizing band matrixAn exception has been thrownLogic error:- detected by Newmat: UpperBandMatrix with non-zero lower bandTrace: UpperBandMatrix::ReSize; Block N; Test.-----------------------------------------Incorrectly ReSizing symmetric band matrixAn exception has been thrownLogic error:- detected by Newmat: Upper and lower band-widths not equalTrace: SymmetricBandMatrix::ReSize(GM); Block M; Test.-----------------------------------------ReSize CroutMatrixAn exception has been thrownLogic error:- detected by Newmat: ReSize not defined for this type of matrixTrace: GeneralMatrix::ReSize(GM); Block O; Test.-----------------------------------------End test(The following memory checks are probably not valid with allcompilers - see documentation)Checking for lost memory: 8932700 8932700 - okChecking for lost memory: 8932700 8932700 - ok
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -