Sign in
third-party-mirror
/
eigen
/
eae6db0ca08e15a56faa194349561649dde541dd
/
.
/
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
;