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