From 4c8d2675cfe25bf97003bf74aa0c83ee8cdaf65b Mon Sep 17 00:00:00 2001 From: Jing Dong Date: Thu, 22 Jan 2015 02:20:57 -0500 Subject: [PATCH] add expressions --- gtsam/nonlinear/expressions.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtsam/nonlinear/expressions.h b/gtsam/nonlinear/expressions.h index c496834d4..efbf207d4 100644 --- a/gtsam/nonlinear/expressions.h +++ b/gtsam/nonlinear/expressions.h @@ -18,6 +18,11 @@ Expression between(const Expression& t1, const Expression& t2) { return Expression(traits::Between, t1, t2); } +template +Expression compose(const Expression& t1, const Expression& t2) { + return Expression(traits::Compose, t1, t2); +} + typedef Expression Double_; typedef Expression Vector3_;