release/4.3a0
Frank Dellaert 2010-01-14 15:31:42 +00:00
parent e1388c0f0d
commit 25372aaa12
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ namespace gtsam {
// Get stuff:
size_t index() const { return j_;}
const char* c_str() const { return (std::string)(*this).c_str();}
operator std::string() const { return (boost::format("%c%d") % C % j_).str(); }
std::string latex() const { return (boost::format("%c_{%d}") % C % j_).str(); }