mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-05 15:38:05 +01:00
Merge branch 'feature/distil' of github.com:mmphys/Grid into feature/distil
This commit is contained in:
commit
07c97cb424
2 files changed
+46
-39
No files matched your search
@@ -512,8 +512,8 @@ void EigenSliceExample()
|
||||
{600, 700, 800}, {900, 1000, 1100}});
|
||||
std::cout << "a\n" << a << std::endl;
|
||||
DumpMemoryOrder( a, "a" );
|
||||
Eigen::array<typename T2::Index, 2> offsets = {1, 0};
|
||||
Eigen::array<typename T2::Index, 2> extents = {2, 2};
|
||||
Eigen::array<typename T2::Index, 2> offsets = {0, 1};
|
||||
Eigen::array<typename T2::Index, 2> extents = {4, 2};
|
||||
T2 slice = a.slice(offsets, extents);
|
||||
std::cout << "slice\n" << slice << std::endl;
|
||||
DumpMemoryOrder( slice, "slice" );
|
||||
|
||||
Reference in new issue
Block a user