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