mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -1,4 +1,5 @@
|
||||
ArrayXi ind(5); ind<<4,2,5,5,3;
|
||||
MatrixXi A = MatrixXi::Random(4,6);
|
||||
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(Eigen::placeholders::all,ind-1) << "\n\n";
|
||||
cout << "A(all,ind-1):\n" << A(Eigen::placeholders::all, ind - 1) << "\n\n";
|
||||
|
||||
Reference in New Issue
Block a user