|
CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
|


Public Member Functions | |
| virtual bool | forward (FunctorGenericModel< Base > &libModel, int q, int p, const Array tx[], Array &ty)=0 |
| virtual bool | reverse (FunctorGenericModel< Base > &libModel, int p, const Array tx[], Array &px, const Array py[])=0 |
Definition at line 22 of file external_function_wrapper.hpp.
|
inlinevirtual |
Definition at line 58 of file external_function_wrapper.hpp.
|
pure virtual |
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. Implemented in CppAD::cg::GenericModelExternalFunctionWrapper< Base >, and CppAD::cg::AtomicExternalFunctionWrapper< Base >.
|
pure virtual |
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. Implemented in CppAD::cg::GenericModelExternalFunctionWrapper< Base >, and CppAD::cg::AtomicExternalFunctionWrapper< Base >.