add examples

This commit is contained in:
Benoit Jacob
2010-02-26 22:26:21 -05:00
parent 2c9a91812e
commit b5c79e7291
4 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
int array[12];
for(int i = 0; i < 12; ++i) array[i] = i;
cout << Map<VectorXi, 0, InnerStride<2> >
(array, 6) // the inner stride has already been passed as template parameter
<< endl;