move print to cpp to wrap properly in matlab
parent
9aede467d2
commit
a2138084db
|
|
@ -33,4 +33,9 @@ namespace gtsam {
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ************************************************************************* */
|
||||||
|
void LieMatrix::print(const std::string& name) const {
|
||||||
|
gtsam::print(matrix(), name);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue