Added two coomnly used constants

release/4.3a0
dellaert 2014-11-28 12:31:40 +01:00
parent 8065a09dc1
commit 428cde2379
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ typedef Eigen::Matrix<double,3,9> Matrix39;
typedef Eigen::Block<Matrix> SubMatrix;
typedef Eigen::Block<const Matrix> ConstSubMatrix;
// Two very commonly used matrices:
const Matrix3 Z_3x3 = Matrix3::Zero();
const Matrix3 I_3x3 = Matrix3::Identity();
// Matlab-like syntax
/**