Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
TopicAliasing_mult3.cpp
blob: 408f2801ac1922d2df5c2e5cdeb70ad8e8b271f9 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
MatrixXf
matA
(
2
,
2
);
matA
<<
2
,
0
,
0
,
2
;
matA
.
noalias
()
=
matA
*
matA
;
cout
<<
matA
;