CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
AtomicExternalFunctionWrapper (atomic_base< Base > &atomic) | |
bool | forward (FunctorGenericModel< Base > &libModel, int q, int p, const Array tx[], Array &ty) override |
bool | reverse (FunctorGenericModel< Base > &libModel, int p, const Array tx[], Array &px, const Array py[]) override |
Definition at line 23 of file atomic_external_function_wrapper.hpp.
|
inlineoverridevirtual |
Computes results during a forward mode sweep, the Taylor coefficients for dependent variables relative to independent variables.
libModel | The model calling where this is being called from. |
q | Lowest order for this forward mode calculation. |
p | Highest order for this forward mode calculation. |
tx | Independent variable Taylor coefficients. |
ty | Dependent variable Taylor coefficients. |
true
if evaluation succeeded, false
otherwise. Implements CppAD::cg::ExternalFunctionWrapper< Base >.
Definition at line 34 of file atomic_external_function_wrapper.hpp.
|
inlineoverridevirtual |
Computes results during a reverse mode sweep, the adjoints or partial derivatives of independent variables.
libModel | The model calling where this is being called from. |
p | Order for this reverse mode calculation. |
tx | Independent variable Taylor coefficients. |
px | Independent variable partial derivatives. |
py | Dependent variable partial derivatives. |
true
if evaluation succeeded, false
otherwise. Implements CppAD::cg::ExternalFunctionWrapper< Base >.
Definition at line 58 of file atomic_external_function_wrapper.hpp.