Eigen 3.4.90
doc
snippets
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;
i
int i
Definition:
BiCGSTAB_step_by_step.cpp:9
array
int array[12]
Definition:
Map_inner_stride.cpp:1