Base class for manual statement pushes on the tape. More...
#include <statementPushHelper.hpp>

Public Types | |
| using | Impl = T_Impl |
| See StatementPushHelperBase. | |
| using | Real = typename Type::Real |
| See LhsExpressionInterface. | |
| using | Type = T_Type |
| See StatementPushHelperBase. | |
Public Member Functions | |
Interface definition | |
| void | endPushStatement (Type &lhs, Real const &primal) |
| Finish the push of a statement. Performs lhs = primal and cleans up all data. | |
| void | pushArgument (Type const &arg, Real const &jacobian) |
| Add the Jacobian of an argument of the statement. | |
| void | startPushStatement () |
| Initialize all data for the push of a statement. | |
Start of general implementation | |
| template<typename ArgIter, typename JacobiIter> | |
| inlinevoid | pushStatement (Type &lhs, Real const &primal, ArgIter const startArg, ArgIter const endArg, JacobiIter const startJac) |
| Push a complete statement where the Jacobians and arguments are provided as iterator objects. | |
| template<typename ArgVector, typename JacobiVector> | |
| inlinevoid | pushStatement (Type &lhs, Real const &primal, ArgVector const &arguments, JacobiVector const &jacobians, size_t const size) |
| Push a complete statement where the Jacobians and arguments are provided as arrays. | |
Base class for manual statement pushes on the tape.
See StatementPushHelper for details.
| T_Type | The CoDiPack type on whose tape the statements are pushed. |
| T_Impl | The actual implementation. |