CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
GenericModelExternalFunctionWrapper (GenericModel< Base > &model) | |
virtual bool | forward (FunctorGenericModel< Base > &libModel, int q, int p, const Array tx[], Array &ty) |
virtual bool | reverse (FunctorGenericModel< Base > &libModel, int p, const Array tx[], Array &px, const Array py[]) |
Definition at line 22 of file generic_model_external_function_wrapper.hpp.
|
inlinevirtual |
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 generic_model_external_function_wrapper.hpp.
|
inlinevirtual |
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 63 of file generic_model_external_function_wrapper.hpp.