Answers for "point to matrix xd position"

0

point to matrix xd position

for (int k = 0; k < 100; k++){
   Eigen::MatrixXd* b=&CVM[k];

   for (int i = 0; i < 5; i++){
      for (int j = 0; j < 5; j++){
         b->coeff(i,j)=47;
      }      
   }
}
Posted by: Guest on March-20-2021

Browse Popular Code Answers by Language