|
| BinarySumExpression (const Expression< T > &e1, const Expression< T > &e2) |
|
virtual std::shared_ptr< Expression > | clone () const |
|
void | dims (std::map< Key, int > &map) const |
| Return dimensions for each argument, as a map. More...
|
|
template<typename A > |
| Expression (const Expression< A > &expression, T(A::*method)(typename MakeOptionalJacobian< T, A >::type) const) |
| Construct a nullary method expression. More...
|
|
template<typename A1 , typename A2 , typename A3 > |
| Expression (const Expression< A1 > &expression1, T(A1::*method)(const A2 &, const A3 &, typename MakeOptionalJacobian< T, A1 >::type, typename MakeOptionalJacobian< T, A2 >::type, typename MakeOptionalJacobian< T, A3 >::type) const, const Expression< A2 > &expression2, const Expression< A3 > &expression3) |
| Construct a binary method expression. More...
|
|
template<typename A1 , typename A2 > |
| Expression (const Expression< A1 > &expression1, T(A1::*method)(const A2 &, typename MakeOptionalJacobian< T, A1 >::type, typename MakeOptionalJacobian< T, A2 >::type) const, const Expression< A2 > &expression2) |
| Construct a unary method expression. More...
|
|
| Expression (const Key &key) |
| Construct a leaf expression, with Key. More...
|
|
| Expression (const Symbol &symbol) |
| Construct a leaf expression, with Symbol. More...
|
|
| Expression (const T &value) |
| Construct a constant expression. More...
|
|
template<typename A1 , typename A2 > |
| Expression (typename BinaryFunction< A1, A2 >::type function, const Expression< A1 > &expression1, const Expression< A2 > &expression2) |
| Construct a binary function expression. More...
|
|
template<typename A1 , typename A2 , typename A3 > |
| Expression (typename TernaryFunction< A1, A2, A3 >::type function, const Expression< A1 > &expression1, const Expression< A2 > &expression2, const Expression< A3 > &expression3) |
| Construct a ternary function expression. More...
|
|
template<typename A > |
| Expression (typename UnaryFunction< A >::type function, const Expression< A > &expression) |
| Construct a unary function expression. More...
|
|
| Expression (unsigned char c, std::uint64_t j) |
| Construct a leaf expression, creating Symbol. More...
|
|
std::set< Key > | keys () const |
| Return keys that play in this expression. More...
|
|
Expression< T > & | operator+= (const Expression< T > &e) |
| Add another expression to this expression. More...
|
|
void | print (const std::string &s) const |
| Print. More...
|
|
const std::shared_ptr< internal::ExpressionNode< T > > & | root () const |
| Return root. More...
|
|
size_t | traceSize () const |
| Return size needed for memory buffer in traceExecution. More...
|
|
T | value (const Values &values, std::vector< Matrix > &H) const |
|
T | value (const Values &values, std::vector< Matrix > *H=nullptr) const |
| Return value and optional derivatives, reverse AD version Notes: this is not terribly efficient, and H should have correct size. The order of the Jacobians is same as keys in either keys() or dims() More...
|
|
virtual | ~Expression () |
| Destructor. More...
|
|
|
typedef Expression< T > | type |
| Define type so we can apply it as a meta-function. More...
|
|
typedef std::pair< KeyVector, FastVector< int > > | KeysAndDims |
| Keys and dimensions in same order. More...
|
|
| Expression () |
| Default constructor, for serialization. More...
|
|
| Expression (const std::shared_ptr< internal::ExpressionNode< T > > &root) |
| Construct with a custom root. More...
|
|
KeysAndDims | keysAndDims () const |
|
T | traceExecution (const Values &values, internal::ExecutionTrace< T > &trace, char *traceStorage) const |
| trace execution, very unsafe More...
|
|
T | valueAndDerivatives (const Values &values, const KeyVector &keys, const FastVector< int > &dims, std::vector< Matrix > &H) const |
| private version that takes keys and dimensions, returns derivatives More...
|
|
T | valueAndJacobianMap (const Values &values, internal::JacobianMap &jacobians) const |
| brief Return value and derivatives, reverse AD version More...
|
|
std::shared_ptr< internal::ExpressionNode< T > > | root_ |
|
template<typename T>
class gtsam::BinarySumExpression< T >
A BinarySumExpression is a specialization of Expression that adds two expressions together It optimizes the Jacobian calculation for this specific case
Definition at line 232 of file Expression.h.