Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/163.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 如何从本征值理解误差_C++_Vector_Eigen_Eigen3 - Fatal编程技术网

C++ 如何从本征值理解误差

C++ 如何从本征值理解误差,c++,vector,eigen,eigen3,C++,Vector,Eigen,Eigen3,我对Eigen有如下问题: LKSSP0.5psk:/usr/include/eigen3/Eigen/src/Core/Block.h:134:Eigen::Block::Block(XprType&,Eigen::Index,Eigen::Index)[其中XprType=Eigen::Matrix;int BlockRows=2;int BlockCols=2;bool InnerPanel=false;Eigen::Index=long int]:Assertion`startRow>=

我对Eigen有如下问题:


LKSSP0.5psk:/usr/include/eigen3/Eigen/src/Core/Block.h:134:Eigen::Block::Block(XprType&,Eigen::Index,Eigen::Index)[其中XprType=Eigen::Matrix;int BlockRows=2;int BlockCols=2;bool InnerPanel=false;Eigen::Index=long int]:Assertion`startRow>=0&&BlockRows>=1&&startRow+BlockRows=0&&BlockCols>=1&&startCol+BlockCols此消息中的关键字是“Assertion”。由于未满足基本矩阵条件,测试失败。调试代码,找到包含断言的行并检查条件

本部分:

断言'startRow>=0&&BlockRows>=1&&startRow+BlockRows=0&&BlockCols>=1&&startCol+BlockCols
这意味着您正在做一些错误的事情,应该使用调试器逐步检查代码。如果你不知道如何使用调试器,我建议你从开始。谢谢你的解释。没问题。如果你认为这个答案满足了你,你可以接受它,除了接受投票来表明你认为你的问题需要解决。