Binary Expression. More...
#include <ExpressionNode.h>
Classes | |
struct | Record |
Public Member Functions | |
void | dims (std::map< Key, int > &map) const override |
Return dimensions for each argument. More... | |
std::set< Key > | keys () const override |
Return keys that play in this expression. More... | |
void | print (const std::string &indent="") const override |
Print. More... | |
T | traceExecution (const Values &values, ExecutionTrace< T > &trace, char *ptr) const override |
Construct an execution trace for reverse AD, see UnaryExpression for explanation. More... | |
T | value (const Values &values) const override |
Return value. More... | |
~BinaryExpression () override | |
Destructor. More... | |
Public Member Functions inherited from gtsam::internal::ExpressionNode< T > | |
size_t | traceSize () const |
virtual | ~ExpressionNode () |
Destructor. More... | |
Private Types | |
typedef Expression< T >::template BinaryFunction< A1, A2 >::type | Function |
Private Member Functions | |
BinaryExpression (Function f, const Expression< A1 > &e1, const Expression< A2 > &e2) | |
Constructor with a binary function f, and two input arguments. More... | |
Private Attributes | |
std::shared_ptr< ExpressionNode< A1 > > | expression1_ |
std::shared_ptr< ExpressionNode< A2 > > | expression2_ |
Function | function_ |
Friends | |
class | ::ExpressionFactorBinaryTest |
class | Expression< T > |
Additional Inherited Members | |
Protected Member Functions inherited from gtsam::internal::ExpressionNode< T > | |
ExpressionNode (size_t traceSize=0) | |
Constructor, traceSize is size of the execution trace of expression rooted here. More... | |
Protected Attributes inherited from gtsam::internal::ExpressionNode< T > | |
size_t | traceSize_ |
Binary Expression.
Definition at line 335 of file ExpressionNode.h.
|
private |
Definition at line 337 of file ExpressionNode.h.
|
inlineprivate |
Constructor with a binary function f, and two input arguments.
Definition at line 343 of file ExpressionNode.h.
|
inlineoverride |
Destructor.
Definition at line 356 of file ExpressionNode.h.
|
inlineoverridevirtual |
Return dimensions for each argument.
Reimplemented from gtsam::internal::ExpressionNode< T >.
Definition at line 382 of file ExpressionNode.h.
|
inlineoverridevirtual |
Return keys that play in this expression.
Reimplemented from gtsam::internal::ExpressionNode< T >.
Definition at line 374 of file ExpressionNode.h.
|
inlineoverridevirtual |
Print.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 360 of file ExpressionNode.h.
|
inlineoverridevirtual |
Construct an execution trace for reverse AD, see UnaryExpression for explanation.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 429 of file ExpressionNode.h.
|
inlineoverridevirtual |
Return value.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 367 of file ExpressionNode.h.
|
friend |
Definition at line 351 of file ExpressionNode.h.
|
friend |
Definition at line 350 of file ExpressionNode.h.
|
private |
Definition at line 338 of file ExpressionNode.h.
|
private |
Definition at line 339 of file ExpressionNode.h.
|
private |
Definition at line 340 of file ExpressionNode.h.