CppADCodeGen
HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
|
Public Member Functions | |
template<class Base , class VectorSize > | |
void | prepare (const ADFun< Base > &fun, const VectorSize &row, const VectorSize &col) |
void | clear () |
inform CppAD that this information needs to be recomputed | |
Public Attributes | |
std::vector< size_t > | user_row |
version of user row array with the extra value m at end | |
std::vector< size_t > | user_col |
version of user col array with the extra value n at end | |
std::vector< size_t > | sort_row |
indices that sort the user arrays by row with the extra value K at the end | |
std::vector< size_t > | sort_col |
indices that sort the user arrays by column with the extra value K at the end | |
size_t | K |
number elements in the user sparse Jacobian | |
class used by SparseForJacHessian to hold information relative to the Jacobian so it does not need to be recomputed.
Definition at line 28 of file sparse_forjac_hessian.hpp.
|
inline |
Code adapted from ADFun::SparseJacobianForward()
Definition at line 44 of file sparse_forjac_hessian.hpp.