template<class Base>
class CppAD::cg::ExternalFunctionWrapper< Base >
Definition at line 22 of file external_function_wrapper.hpp.
◆ forward()
Computes results during a forward mode sweep, the Taylor coefficients for dependent variables relative to independent variables.
- Parameters
-
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. |
- Returns
true
if evaluation succeeded, false
otherwise.
Implemented in CppAD::cg::AtomicExternalFunctionWrapper< Base >, and CppAD::cg::GenericModelExternalFunctionWrapper< Base >.
◆ reverse()
Computes results during a reverse mode sweep, the adjoints or partial derivatives of independent variables.
- Parameters
-
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. |
- Returns
true
if evaluation succeeded, false
otherwise.
Implemented in CppAD::cg::GenericModelExternalFunctionWrapper< Base >, and CppAD::cg::AtomicExternalFunctionWrapper< Base >.
The documentation for this class was generated from the following file: