Expression for scalar multiplication. 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... | |
ScalarMultiplyNode (double s, const Expression< T > &e) | |
Constructor with a unary function f, and input argument e1. More... | |
T | traceExecution (const Values &values, ExecutionTrace< T > &trace, char *ptr) const override |
Construct an execution trace for reverse AD. More... | |
T | value (const Values &values) const override |
Return value. More... | |
~ScalarMultiplyNode () override | |
Destructor. More... | |
Public Member Functions inherited from gtsam::internal::ExpressionNode< T > | |
size_t | traceSize () const |
virtual | ~ExpressionNode () |
Destructor. More... | |
Private Member Functions | |
GTSAM_CONCEPT_ASSERT (IsVectorSpace< T >) | |
Private Attributes | |
std::shared_ptr< ExpressionNode< T > > | expression_ |
double | scalar_ |
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_ |
Expression for scalar multiplication.
Definition at line 563 of file ExpressionNode.h.
|
inline |
Constructor with a unary function f, and input argument e1.
Definition at line 572 of file ExpressionNode.h.
|
inlineoverride |
Destructor.
Definition at line 577 of file ExpressionNode.h.
|
inlineoverridevirtual |
Return dimensions for each argument.
Reimplemented from gtsam::internal::ExpressionNode< T >.
Definition at line 596 of file ExpressionNode.h.
|
private |
|
inlineoverridevirtual |
Return keys that play in this expression.
Reimplemented from gtsam::internal::ExpressionNode< T >.
Definition at line 591 of file ExpressionNode.h.
|
inlineoverridevirtual |
Print.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 580 of file ExpressionNode.h.
|
inlineoverridevirtual |
Construct an execution trace for reverse AD.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 630 of file ExpressionNode.h.
|
inlineoverridevirtual |
Return value.
Implements gtsam::internal::ExpressionNode< T >.
Definition at line 586 of file ExpressionNode.h.
|
private |
Definition at line 568 of file ExpressionNode.h.
|
private |
Definition at line 567 of file ExpressionNode.h.