gtsam  4.1.0
gtsam
expressions.h
Go to the documentation of this file.
1 
8 #pragma once
9 
11 #include <gtsam/base/Lie.h>
12 
13 namespace gtsam {
14 
15 // Generic between, assumes existence of traits<T>::Between
16 template <typename T>
17 Expression<T> between(const Expression<T>& t1, const Expression<T>& t2) {
18  return Expression<T>(traits<T>::Between, t1, t2);
19 }
20 
21 // Generic compose, assumes existence of traits<T>::Compose
22 template <typename T>
23 Expression<T> compose(const Expression<T>& t1, const Expression<T>& t2) {
24  return Expression<T>(traits<T>::Compose, t1, t2);
25 }
26 
27 // Some typedefs
28 typedef Expression<double> Double_;
29 typedef Expression<Vector1> Vector1_;
30 typedef Expression<Vector2> Vector2_;
31 typedef Expression<Vector3> Vector3_;
32 typedef Expression<Vector4> Vector4_;
33 typedef Expression<Vector5> Vector5_;
34 typedef Expression<Vector6> Vector6_;
35 typedef Expression<Vector7> Vector7_;
36 typedef Expression<Vector8> Vector8_;
37 typedef Expression<Vector9> Vector9_;
38 
39 } // \namespace gtsam
Expression.h
Expressions for Block Automatic Differentiation.
gtsam
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
gtsam::testing::between
T between(const T &t1, const T &t2)
binary functions
Definition: lieProxies.h:36
Lie.h
Base class and basic functions for Lie types.