H
hitbuyi
Guest
code is below
MatrixXd P_ = MatrixXd(5, 5);
P_.fill(0);
P_(0,0) = 1;
P_(1,1) = 2;
P_(2,2) = 3;
P_(3,3) = 4;
P_(4,4) = 5;
std::cout << "P_ =" << std::endl << P_<< std::endl;
platform is vs2015 and it's eigen3. I add a breakpoint to watch P_, and found P_ can only display the first element of P_ in watch pannel, but P_ can displayed in console via std::cout command.
how to display eigen matrix in vs2015 watch pannel when a breakpoint is added?
Thanks a lot
Continue reading...
MatrixXd P_ = MatrixXd(5, 5);
P_.fill(0);
P_(0,0) = 1;
P_(1,1) = 2;
P_(2,2) = 3;
P_(3,3) = 4;
P_(4,4) = 5;
std::cout << "P_ =" << std::endl << P_<< std::endl;
platform is vs2015 and it's eigen3. I add a breakpoint to watch P_, and found P_ can only display the first element of P_ in watch pannel, but P_ can displayed in console via std::cout command.
how to display eigen matrix in vs2015 watch pannel when a breakpoint is added?
Thanks a lot
Continue reading...