Low level function entry on the tape. See LowLevelFunctionTapeInterface for details. More...
#include <lowLevelFunctionEntry.hpp>
Public Types | |
using | FuncDel = void (*)(Tape* tape, ByteDataView& data) |
Call syntax for Delete calls. | |
using | FuncEval = void (*)(Tape* tape, ByteDataView& data, VectorAccessInterface<Real, Identifier>* access) |
Call syntax for Forward, Reverse, and Primal calls. | |
using | Identifier = T_Identifier |
See LowLevelFunctionEntry. | |
using | Real = T_Real |
See LowLevelFunctionEntry. | |
using | Tape = T_Tape |
See LowLevelFunctionEntry. | |
Public Member Functions | |
template<LowLevelFunctionEntryCallKind callType, typename... Args> | |
void | call (Args &&... args) const |
Call the function corresponding to callType with the given arguments. | |
template<LowLevelFunctionEntryCallKind callType, typename... Args> | |
bool | has (Args &&... args) const |
Check if a function is provided for the callType. | |
LowLevelFunctionEntry (FuncEval reverse=nullptr, FuncEval forward=nullptr, FuncEval primal=nullptr, FuncDel del=nullptr) | |
Constructors. | |
Low level function entry on the tape. See LowLevelFunctionTapeInterface for details.
T_Tape | The tape on which the entry is registered. |
T_Real | The computation type of a tape, usually chosen as ActiveType::Real. |
T_Identifier | The adjoint/tangent identification type of a tape, usually chosen as ActiveType::Identifier. |