Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
TopicAliasing_mult5.cpp
blob: cae9e0d5cf0b003fd40855c90e03e76faa4136d6 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
MatrixXf
A
(
2
,
2
),
B
(
3
,
2
);
B
<<
2
,
0
,
0
,
3
,
1
,
1
;
A
<<
2
,
0
,
0
,
-
2
;
A
=
(
B
*
A
).
eval
().
cwiseAbs
();
cout
<<
A
;