Expression evaluation in the inner function. Data loading in the compilation context of the tape. Storing in static context. More...
#include <innerStatementEvaluator.hpp>
Public Types | |
using | Real = T_Real |
See InnerStatementEvaluator. | |
Public Types inherited from codi::StatementEvaluatorInterface< T_Real > | |
using | Real = T_Real |
See StatementEvaluatorInterface. | |
using | Handle = int |
Type of the handle. | |
Protected Types | |
template<typename Tape > | |
using | FunctionForward = decltype(&Tape::template statementEvaluateForwardInner<ActiveType<Tape>>) |
Full forward function type. | |
template<typename Tape > | |
using | FunctionPrimal = decltype(&Tape::template statementEvaluatePrimalInner<ActiveType<Tape>>) |
Full primal function type. | |
template<typename Tape > | |
using | FunctionReverse = decltype(&Tape::template statementEvaluateReverseInner<ActiveType<Tape>>) |
Full reverse function type. | |
StatementEvaluatorInterface implementation | |
using | Handle = InnerPrimalTapeStatementData const* |
Pointer to static storage location. | |
template<typename Tape , typename... Args> | |
static Real | callForward (Handle const &h, Args &&... args) |
template<typename Tape , typename... Args> | |
static Real | callPrimal (Handle const &h, Args &&... args) |
template<typename Tape , typename... Args> | |
static void | callReverse (Handle const &h, Args &&... args) |
template<typename Tape , typename Generator , typename Expr > | |
static Handle | createHandle () |
Additional Inherited Members | |
Static Public Member Functions inherited from codi::StatementEvaluatorInterface< T_Real > | |
template<typename Tape , typename... Args> | |
static Real | callForward (Handle const &h, Args &&... args) |
template<typename Tape , typename... Args> | |
static Real | callPrimal (Handle const &h, Args &&... args) |
template<typename Tape , typename... Args> | |
static void | callReverse (Handle const &h, Args &&... args) |
template<typename Tape , typename Generator , typename Expr > | |
static Handle | createHandle () |
Expression evaluation in the inner function. Data loading in the compilation context of the tape. Storing in static context.
Data loading is performed in the compilation context of the tape. The tape will then call the handle for the evaluation of the expression after the data is loaded. This evaluator stores expression specific data and the inner function handles.
See StatementEvaluatorInterface for details.
T_Real | The computation type of a tape, usually chosen as ActiveType::Real. |
|
inlinestatic |
Tape | Has to implement StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface, depending on the interface the implementation uses. |
|
inlinestatic |
Tape | Has to implement StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface, depending on the interface the implementation uses. |
|
inlinestatic |
Tape | Has to implement StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface, depending on the interface the implementation uses. |
|
inlinestatic |
Tape | Usually not required. Access tape specific configurations. |
Generator | Has to implement the StatementEvaluatorTapeInterface or StatementEvaluatorInnerTapeInterface. Usually the same as Tape. |
Expr | Instance of ExpressionInterface. |