Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
gtsam::internal::UnaryExpression< T, A1 > Class Template Reference

Unary Function Expression. More...

#include <ExpressionNode.h>

Inheritance diagram for gtsam::internal::UnaryExpression< T, A1 >:
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...
 
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...
 
 ~UnaryExpression () 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 UnaryFunction< A1 >::type Function
 

Private Member Functions

 UnaryExpression (Function f, const Expression< A1 > &e1)
 Constructor with a unary function f, and input argument e1. More...
 

Private Attributes

boost::shared_ptr< ExpressionNode< A1 > > expression1_
 
Function function_
 

Friends

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_
 

Detailed Description

template<class T, class A1>
class gtsam::internal::UnaryExpression< T, A1 >

Unary Function Expression.

Definition at line 230 of file ExpressionNode.h.

Member Typedef Documentation

template<class T , class A1 >
typedef Expression<T>::template UnaryFunction<A1>::type gtsam::internal::UnaryExpression< T, A1 >::Function
private

Definition at line 232 of file ExpressionNode.h.

Constructor & Destructor Documentation

template<class T , class A1 >
gtsam::internal::UnaryExpression< T, A1 >::UnaryExpression ( Function  f,
const Expression< A1 > &  e1 
)
inlineprivate

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

Definition at line 237 of file ExpressionNode.h.

template<class T , class A1 >
gtsam::internal::UnaryExpression< T, A1 >::~UnaryExpression ( )
inlineoverride

Destructor.

Definition at line 247 of file ExpressionNode.h.

Member Function Documentation

template<class T , class A1 >
void gtsam::internal::UnaryExpression< T, A1 >::dims ( std::map< Key, int > &  map) const
inlineoverridevirtual

Return dimensions for each argument.

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

Definition at line 267 of file ExpressionNode.h.

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

Return keys that play in this expression.

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

Definition at line 262 of file ExpressionNode.h.

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

Print.

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

Definition at line 251 of file ExpressionNode.h.

template<class T , class A1 >
T gtsam::internal::UnaryExpression< T, A1 >::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 310 of file ExpressionNode.h.

template<class T , class A1 >
T gtsam::internal::UnaryExpression< T, A1 >::value ( const Values values) const
inlineoverridevirtual

Return value.

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

Definition at line 257 of file ExpressionNode.h.

Friends And Related Function Documentation

template<class T , class A1 >
friend class Expression< T >
friend

Definition at line 242 of file ExpressionNode.h.

Member Data Documentation

template<class T , class A1 >
boost::shared_ptr<ExpressionNode<A1> > gtsam::internal::UnaryExpression< T, A1 >::expression1_
private

Definition at line 233 of file ExpressionNode.h.

template<class T , class A1 >
Function gtsam::internal::UnaryExpression< T, A1 >::function_
private

Definition at line 234 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:38