Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
Matrix_variadic_ctor.cpp
blob: 04238a2761cf269bfa0de2a066bb93c2aaf2b1dc [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Matrix
<
int
,
1
,
6
>
a
(
1
,
2
,
3
,
4
,
5
,
6
);
Matrix
<
int
,
3
,
1
>
b
{
1
,
2
,
3
};
cout
<<
a
<<
"\n\n"
<<
b
<<
endl
;