Slicing_arrayexpr.cpp
Go to the documentation of this file.
1 ArrayXi ind(5); 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-1):\n" << A(all,ind-1) << "\n\n";
A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:48
ind
ArrayXi ind(5)
A
Definition: test_numpy_dtypes.cpp:298
Eigen::all
static const Eigen::internal::all_t all
Definition: IndexedViewHelper.h:171


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:21