MatrixBase_isIdentity.cpp
Go to the documentation of this file.
1 Matrix3d m = Matrix3d::Identity();
2 m(0,2) = 1e-4;
3 cout << "Here's the matrix m:" << endl << m << endl;
4 cout << "m.isIdentity() returns: " << m.isIdentity() << endl;
5 cout << "m.isIdentity(1e-3) returns: " << m.isIdentity(1e-3) << endl;
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
m
Matrix3d m
Definition: MatrixBase_isIdentity.cpp:1


gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:03:41