Sign in
third-party-mirror
/
eigen
/
2571273647cdf6673639ebe9b3aa3237c1e7a822
/
.
/
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
;