Map_inner_stride.cpp
Go to the documentation of this file.
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;
array
int array[12]
Definition: Map_inner_stride.cpp:1
array
Definition: numpy.h:684
i
int i
Definition: BiCGSTAB_step_by_step.cpp:9


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:03:06