Slicing_stdvector_cxx11.cpp
Go to the documentation of this file.
1 std::vector<int> ind{4,2,5,5,3};
2 MatrixXi A = MatrixXi::Random(4,6);
3 cout << "Initial matrix A:\n" << A << "\n\n";
4 cout << "A(all,ind):\n" << A(all,ind) << "\n\n";
static const Eigen::internal::all_t all
std::vector< int > ind
MatrixXi A


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:35:50