Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
Map_inner_stride.cpp
blob: f31575653cfb9253330c094336bdab64e84c86b7 [
file
] [
log
] [
blame
]
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
;