You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
167 B
5 lines
167 B
2 years ago
|
ArrayXi ind(5); ind<<4,2,5,5,3;
|
||
|
MatrixXi A = MatrixXi::Random(4,6);
|
||
|
cout << "Initial matrix A:\n" << A << "\n\n";
|
||
|
cout << "A(all,ind-1):\n" << A(all,ind-1) << "\n\n";
|