Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
doc
/
snippets
/
Map_general_stride.cpp
blob: e2677ffa0e6a541281dafde52fe4b05b8f98d748 [
file
] [
log
] [
blame
]
int
array
[
24
];
for
(
int
i
=
0
;
i
<
24
;
++
i
)
array
[
i
]
=
i
;
cout
<<
Map
<
MatrixXi
,
0
,
Stride
<
Dynamic
,
2
>
>(
array
,
3
,
3
,
Stride
<
Dynamic
,
2
>(
8
,
2
))
<<
endl
;