Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gtsam::internal::ScalarMultiplyNode< T > Class Template Reference

Expression for scalar multiplication. More...

#include <ExpressionNode.h>

Inheritance diagram for gtsam::internal::ScalarMultiplyNode< T >:
Inheritance graph
[legend]

Classes

struct  Record
 

Public Member Functions

void dims (std::map< Key, int > &map) const override
 Return dimensions for each argument. More...
 
std::set< Keykeys () 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, ExecutionTraceStorage *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

 BOOST_CONCEPT_ASSERT ((gtsam::IsVectorSpace< T >))
 

Private Attributes

boost::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_
 

Detailed Description

template<class T>
class gtsam::internal::ScalarMultiplyNode< T >

Expression for scalar multiplication.

Definition at line 560 of file ExpressionNode.h.

Constructor & Destructor Documentation

template<class T >
gtsam::internal::ScalarMultiplyNode< T >::ScalarMultiplyNode ( double  s,
const Expression< T > &  e 
)
inline

Constructor with a unary function f, and input argument e1.

Definition at line 569 of file ExpressionNode.h.

template<class T >
gtsam::internal::ScalarMultiplyNode< T >::~ScalarMultiplyNode ( )
inlineoverride

Destructor.

Definition at line 574 of file ExpressionNode.h.

Member Function Documentation

template<class T >
gtsam::internal::ScalarMultiplyNode< T >::BOOST_CONCEPT_ASSERT ( (gtsam::IsVectorSpace< T >)  )
private
template<class T >
void gtsam::internal::ScalarMultiplyNode< T >::dims ( std::map< Key, int > &  map) const
inlineoverridevirtual

Return dimensions for each argument.

Reimplemented from gtsam::internal::ExpressionNode< T >.

Definition at line 593 of file ExpressionNode.h.

template<class T >
std::set<Key> gtsam::internal::ScalarMultiplyNode< T >::keys ( ) const
inlineoverridevirtual

Return keys that play in this expression.

Reimplemented from gtsam::internal::ExpressionNode< T >.

Definition at line 588 of file ExpressionNode.h.

template<class T >
void gtsam::internal::ScalarMultiplyNode< T >::print ( const std::string &  indent = "") const
inlineoverridevirtual

Print.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 577 of file ExpressionNode.h.

template<class T >
T gtsam::internal::ScalarMultiplyNode< T >::traceExecution ( const Values values,
ExecutionTrace< T > &  trace,
ExecutionTraceStorage ptr 
) const
inlineoverridevirtual

Construct an execution trace for reverse AD.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 627 of file ExpressionNode.h.

template<class T >
T gtsam::internal::ScalarMultiplyNode< T >::value ( const Values values) const
inlineoverridevirtual

Return value.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 583 of file ExpressionNode.h.

Member Data Documentation

template<class T >
boost::shared_ptr<ExpressionNode<T> > gtsam::internal::ScalarMultiplyNode< T >::expression_
private

Definition at line 565 of file ExpressionNode.h.

template<class T >
double gtsam::internal::ScalarMultiplyNode< T >::scalar_
private

Definition at line 564 of file ExpressionNode.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:37