move print to cpp to wrap properly in matlab

release/4.3a0
Duy-Nguyen Ta 2013-10-10 22:01:48 +00:00
parent 9aede467d2
commit a2138084db
2 changed files with 18 additions and 15 deletions

View File

@ -33,4 +33,9 @@ namespace gtsam {
va_end(ap); va_end(ap);
} }
/* ************************************************************************* */
void LieMatrix::print(const std::string& name) const {
gtsam::print(matrix(), name);
}
} }

View File

@ -56,9 +56,7 @@ struct LieMatrix : public Matrix, public DerivedValue<LieMatrix> {
/// @{ /// @{
/** print @param s optional string naming the object */ /** print @param s optional string naming the object */
inline void print(const std::string& name="") const { void print(const std::string& name="") const;
gtsam::print(matrix(), name);
}
/** equality up to tolerance */ /** equality up to tolerance */
inline bool equals(const LieMatrix& expected, double tol=1e-5) const { inline bool equals(const LieMatrix& expected, double tol=1e-5) const {