Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
Map_simple.cpp
blob: 541d5296993002bd292706652a593183ee8caf12 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
int
array
[
9
];
for
(
int
i
=
0
;
i
<
9
;
++
i
)
array
[
i
]
=
i
;
cout
<<
Map
<
Matrix3i
>(
array
)
<<
endl
;