Tape side interface for StatementEvaluatorInterface. More...
#include <statementEvaluatorTapeInterface.hpp>
Public Types | |
using | Real = T_Real |
See StatementEvaluatorInnerTapeInterface. | |
Static Public Member Functions | |
Interface definition | |
template<typename Func , typename... Args> | |
static Real | statementEvaluateForwardFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args) |
Load the expression data and evaluate the expression in a forward mode. | |
template<typename Func , typename... Args> | |
static Real | statementEvaluatePrimalFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args) |
Load the expression data and evaluate the expression in a primal setting. | |
template<typename Func , typename... Args> | |
static void | statementEvaluateReverseFull (Func const &inner, size_t const &maxActiveArgs, size_t const &maxConstantArgs, Args &&... args) |
Load the expression data and evaluate the expression in a reverse mode. | |
template<typename Expr , typename... Args> | |
static Real | statementEvaluateForwardInner (Args &&... args) |
Evaluate expression in a forward mode. | |
template<typename Expr , typename... Args> | |
static Real | statementEvaluatePrimalInner (Args &&... args) |
Evaluate expression in a primal setting. | |
template<typename Expr , typename... Args> | |
static void | statementEvaluateReverseInner (Args &&... args) |
Evaluate expression in a reverse mode. | |
Tape side interface for StatementEvaluatorInterface.
See StatementEvaluatorInterface for a full description.
The statementEvaluate*Inner
methods needs to be stored by the StatementEvaluatorInterface. These methods perform the Call expression specific function
logic.
The statementEvaluate*Full
functions are called by the StatementEvaluatorInterface on a call*
function call. This performs the step Load expression specific data
in an inline context. inner
is the stored function pointer in the handle.
T_Real | The computation type of a tape usually defined by ActiveType::Real. |