gtsam
3rdparty
Eigen
doc
snippets
MatrixBase_isOnes.cpp
Go to the documentation of this file.
1
Matrix3d
m
= Matrix3d::Ones();
2
m
(0,2) += 1
e
-4;
3
cout <<
"Here's the matrix m:"
<< endl <<
m
<< endl;
4
cout <<
"m.isOnes() returns: "
<<
m
.isOnes() << endl;
5
cout <<
"m.isOnes(1e-3) returns: "
<<
m
.isOnes(1
e
-3) << endl;
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
m
Matrix3d m
Definition:
MatrixBase_isOnes.cpp:1
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:06