CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
CGAtomicGenericModel (GenericModel< Base > &model) | |
template<class ADVector > | |
void | operator() (const ADVector &ax, ADVector &ay, size_t id=0) |
bool | forward (size_t q, size_t p, const CppAD::vector< bool > &vx, CppAD::vector< bool > &vy, const CppAD::vector< Base > &tx, CppAD::vector< Base > &ty) override |
bool | reverse (size_t p, const CppAD::vector< Base > &tx, const CppAD::vector< Base > &ty, CppAD::vector< Base > &px, const CppAD::vector< Base > &py) override |
bool | for_sparse_jac (size_t q, const CppAD::vector< std::set< size_t > > &r, CppAD::vector< std::set< size_t > > &s, const CppAD::vector< Base > &x) override |
bool | for_sparse_jac (size_t q, const CppAD::vector< std::set< size_t > > &r, CppAD::vector< std::set< size_t > > &s) override |
bool | rev_sparse_jac (size_t q, const CppAD::vector< std::set< size_t > > &rT, CppAD::vector< std::set< size_t > > &sT, const CppAD::vector< Base > &x) override |
bool | rev_sparse_jac (size_t q, const CppAD::vector< std::set< size_t > > &rT, CppAD::vector< std::set< size_t > > &sT) override |
bool | rev_sparse_hes (const CppAD::vector< bool > &vx, const CppAD::vector< bool > &s, CppAD::vector< bool > &t, size_t q, const CppAD::vector< std::set< size_t > > &r, const CppAD::vector< std::set< size_t > > &u, CppAD::vector< std::set< size_t > > &v, const CppAD::vector< Base > &x) override |
bool | rev_sparse_hes (const CppAD::vector< bool > &vx, const CppAD::vector< bool > &s, CppAD::vector< bool > &t, size_t q, const CppAD::vector< std::set< size_t > > &r, const CppAD::vector< std::set< size_t > > &u, CppAD::vector< std::set< size_t > > &v) override |
Protected Attributes | |
GenericModel< Base > & | model_ |
An atomic function that uses a compiled model
Definition at line 28 of file atomic_generic_model.hpp.
|
inline |
Creates a new atomic function wrapper that is responsible for calling the appropriate methods of the compiled model.
model | The compiled model. |
Definition at line 39 of file atomic_generic_model.hpp.
|
inlineoverride |
V(x) = f'^T(x) U(x) + Sum( s(x)i f''(x) R )
S(x) * f'(x)
Definition at line 144 of file atomic_generic_model.hpp.