source: pacpussensors/trunk/Vislab/lib3dv/eigen/doc/snippets/Map_inner_stride.cpp@ 136

Last change on this file since 136 was 136, checked in by ldecherf, 7 years ago

Doc

File size: 199 bytes
Line 
1int array[12];
2for(int i = 0; i < 12; ++i) array[i] = i;
3cout << 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.