CppADCodeGen  2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
CppAD::cg::IndexAssignOperationNode< Base > Class Template Reference
Collaboration diagram for CppAD::cg::IndexAssignOperationNode< Base >:
Collaboration graph

Public Member Functions

OperationNode< Base > & getIndex () const
 
const IndexPatterngetIndexPattern () const
 
IndexPatterngetIndexPattern ()
 
std::vector< const OperationNode< Base > * > getIndexPatternIndexes () const
 

Protected Member Functions

 IndexAssignOperationNode (CodeHandler< Base > *handler, OperationNode< Base > &index, IndexPattern &indexPattern, IndexOperationNode< Base > &index1)
 
 IndexAssignOperationNode (CodeHandler< Base > *handler, OperationNode< Base > &index, IndexPattern &indexPattern, IndexOperationNode< Base > *index1, IndexOperationNode< Base > *index2)
 

Static Protected Member Functions

static std::vector< Argument< Base > > createArguments (OperationNode< Base > &index, IndexOperationNode< Base > *index1, IndexOperationNode< Base > *index2)
 

Friends

class CodeHandler< Base >
 

Detailed Description

template<class Base>
class CppAD::cg::IndexAssignOperationNode< Base >

An index reference operation node.

This is a custom OperationNode class and therefore cannot be transformed into any other node type (makeAlias() and setOperation() might not work).

Author
Joao Leal

Definition at line 84 of file declare_cg.hpp.

Constructor & Destructor Documentation

◆ IndexAssignOperationNode()

template<class Base >
CppAD::cg::IndexAssignOperationNode< Base >::IndexAssignOperationNode ( CodeHandler< Base > *  handler,
OperationNode< Base > &  index,
IndexPattern indexPattern,
IndexOperationNode< Base > &  index1 
)
inlineprotected
Parameters
handlerowner of this node
indexthe index that is being assigned
indexPatternthe index expression used to define the index value
index1

Definition at line 83 of file index_assign_operation_node.hpp.


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