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