Sign in
eigen
/
mirror
/
7e0972963edfa2cd4bcb3be56aa1f6e7cc9293cd
/
.
/
doc
/
snippets
/
MatrixBase_inverse.cpp
blob: 4d8c6be1211675da2673b23a952cc3697139e7c1 [
file
]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
Matrix3d
m
=
Matrix3d
::
Random
();
cout
<<
"Here is the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"Its inverse is:"
<<
endl
<<
m
.
inverse
()
<<
endl
;