mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
5 lines
189 B
C++
5 lines
189 B
C++
#if EIGEN_HAS_STATIC_ARRAY_TEMPLATE
|
|
MatrixXi A = MatrixXi::Random(4,6);
|
|
cout << "Initial matrix A:\n" << A << "\n\n";
|
|
cout << "A(all,{4,2,5,5,3}):\n" << A(all,{4,2,5,5,3}) << "\n\n";
|
|
#endif |