|
template<typename Adjoint, typename Arg> |
static inlineauto | applyAdjointArg (Adjoint const &adjoint, Real const &result, Arg const &arg) |
|
template<typename Tangent, typename Arg> |
static inlineauto | applyTangentArg (Tangent const &tangent, Real const &result, Arg const &arg) |
|
template<typename Arg> |
static inlineReal | primal (Arg const &arg) |
|
static inlineauto | applyAdjoint (Adjoint const &adjoint, Real const &result, Arg const &arg) |
|
static inlineauto | applyAdjointArg (Adjoint const &adjoint, Real const &result, Arg const &arg) |
|
static inlineauto | applyTangent (Tangent const &tangent, Real const &result, Arg const &arg) |
|
static inlineauto | applyTangentArg (Tangent const &tangent, Real const &result, Arg const &arg) |
|
static inlineReal | primal (Arg const &arg) |
|
template<size_t argNumber, typename Adjoint, typename... Args> |
static inlineauto | applyAdjoint (Adjoint const &adjoint, Real const &result, Args const &... args) |
|
template<size_t argNumber, typename Tangent, typename... Args> |
static inlineauto | applyTangent (Tangent const &tangent, Real const &result, Args const &... args) |
|
static inlinestd::string | getMathRep () |
| Get the math symbol of the operation. E.g. + for operators and pow() for functions.
|
|
template<typename... Args> |
static inlineReal | primal (Args const &... args) |
|
template<typename T_Aggregated, size_t T_element>
template<typename T_Real>
struct codi::ArrayAccessExpressionImpl< T_Aggregated, T_element >::ArrayAccessOperation< T_Real >
Operation for array access.
- Template Parameters
-
T_OpReal | Real value of the operator. |
template<typename T_Aggregated, size_t T_element>
template<typename T_Real>
template<typename Adjoint, typename Arg>
static inlineauto codi::ArrayAccessExpressionImpl< T_Aggregated, T_element >::ArrayAccessOperation< T_Real >::applyAdjointArg |
( |
Adjoint const & | adjoint, |
|
|
Real const & | result, |
|
|
Arg const & | arg ) |
|
inlinestatic |
Apply the reverse AD mode with respect to the argument on the adjoint and return the result. Computes
template<typename T_Aggregated, size_t T_element>
template<typename T_Real>
template<typename Tangent, typename Arg>
static inlineauto codi::ArrayAccessExpressionImpl< T_Aggregated, T_element >::ArrayAccessOperation< T_Real >::applyTangentArg |
( |
Tangent const & | tangent, |
|
|
Real const & | result, |
|
|
Arg const & | arg ) |
|
static |
Apply the forward AD mode with respect to the argument on the tangent and return the result. Computes