Sign in
eigen
/
mirror
/
90dfbc054ed49f7999e506ccd0d8436a61261395
/
.
/
doc
/
snippets
/
MatrixBase_cwiseInverse.cpp
blob: b076fd455db70088cd731da395b9cc40a6b65e3b [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
MatrixXd
m
(
2
,
3
);
m
<<
2
,
0.5
,
1
,
3
,
0.25
,
1
;
cout
<<
m
.
cwiseInverse
()
<<
endl
;