Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
gtsam
3rdparty
Eigen
doc
snippets
MatrixBase_isOrthogonal.cpp
Go to the documentation of this file.
1
Vector3d
v
(1,0,0);
2
Vector3d
w
(1
e
-4,0,1);
3
cout <<
"Here's the vector v:"
<< endl <<
v
<< endl;
4
cout <<
"Here's the vector w:"
<< endl <<
w
<< endl;
5
cout <<
"v.isOrthogonal(w) returns: "
<<
v
.isOrthogonal(
w
) << endl;
6
cout <<
"v.isOrthogonal(w,1e-3) returns: "
<<
v
.isOrthogonal(
w
,1
e
-3) << endl;
v
Vector3d v(1, 0, 0)
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
w
Vector3d w(1e-4, 0, 1)
gtsam
Author(s):
autogenerated on Sat May 8 2021 02:42:54