source:
pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/Map_inner_stride.cpp@
138
Last change on this file since 138 was 136, checked in by , 8 years ago | |
---|---|
File size: 199 bytes |
Line | |
---|---|
1 | int array[12]; |
2 | for(int i = 0; i < 12; ++i) array[i] = i; |
3 | cout << Map<VectorXi, 0, InnerStride<2> > |
4 | (array, 6) // the inner stride has already been passed as template parameter |
5 | << endl; |
Note:
See TracBrowser
for help on using the repository browser.