gtsam
3rdparty
Eigen
doc
snippets
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"
;
Eigen::all
static const Eigen::internal::all_t all
Definition:
IndexedViewHelper.h:171
A
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition:
bench_gemm.cpp:48
ind
ArrayXi ind(5)
A
Definition:
test_numpy_dtypes.cpp:298
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:35:50