Sign in
eigen
/
mirror
/
c21a80be3d0506587e73f7a5796df6e83967a934
/
.
/
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
;