Sign in
third-party-mirror
/
eigen
/
941ca8d83f776b9a07153d3abef2877907aa0555
/
.
/
doc
/
snippets
/
MatrixBase_isUnitary.cpp
blob: 56f1b96433be3a1f5e8c50cbd10d4af272ad11de [
file
] [
log
] [
blame
]
Matrix3d
m
=
Matrix3d
::
Identity
();
m
(
0
,
2
)
=
1e-4
;
cout
<<
"Here's the matrix m:"
<<
endl
<<
m
<<
endl
;
cout
<<
"m.isUnitary() returns: "
<<
m
.
isUnitary
()
<<
endl
;
cout
<<
"m.isUnitary(1e-3) returns: "
<<
m
.
isUnitary
(
1e-3
)
<<
endl
;