39#include "../data/position.hpp"
40#include "../misc/internalAdjointsInterface.hpp"
41#include "../misc/tapeParameters.hpp"
42#include "forwardEvaluationTapeInterface.hpp"
72 template<
typename T_Position>
88 template<
typename Adjo
intVector>
100 template<
typename Adjo
intVector>
110 template<
typename Adjo
intVector>
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:94
#define CODI_T(...)
Abbreviation for CODI_TEMPLATE.
Definition macros.hpp:111
CoDiPack - Code Differentiation Package.
Definition codi.hpp:91
Allows user defined vectors for the forward and adjoint evaluation, and for clearing adjoints.
Definition customAdjointVectorEvaluationTapeInterface.hpp:73
void evaluate(Position const &start, Position const &end, AdjointVector &&data)
Perform a reverse evaluation for a part of the tape. It hast to hold start >= end.
InternalAdjoints getInternalAdjoints()
Obtain a representation of the tape's internal adjoint vector that can be used as custom adjoints.
T_Position Position
See CustomAdjointVectorEvaluationTapeInterface.
Definition customAdjointVectorEvaluationTapeInterface.hpp:76
void evaluateForward(Position const &start, Position const &end, AdjointVector &&data)
Perform a forward evaluation of a part of the tape. It has to hold start <= end.
void clearCustomAdjoints(Position const &start, Position const &end, AdjointVector &&data)
Clear all adjoint values, that is, set them to zero.
Empty Position with no nested data.
Definition position.hpp:47
Forward AD evaluation of a recorded tape.
Definition forwardEvaluationTapeInterface.hpp:57
Abstracts the internal set of adjoint variables provided as part of the tape.
Definition internalAdjointsInterface.hpp:80