Added function to return the augmented information matrix

release/4.3a0
Richard Roberts 2011-09-16 05:30:41 +00:00
parent f07d846954
commit 57ae0aac38
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ namespace gtsam {
*/
constBlock info(const_iterator j1, const_iterator j2) const { return info_(j1-begin(), j2-begin()); }
/** Return the full *augmented* information matrix, as described above */
constBlock info() const { return info_.full(); }
/** Return the constant term \f$ f \f$ as described above
* @return The constant term \f$ f \f$
*/