|
CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
|
#include <sparse_forjac_hessian.hpp>

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 > | r_sort |
| version of user r array sorted by row or column | |
| std::vector< size_t > | c_sort |
| version of user c array sorted by row or column | |
| std::vector< size_t > | k_sort |
| mapping from sorted array indices to user array indices | |
| size_t | K |
| number elements in the user sparse Hessian | |
class used by SparseForJacHessian to hold information relative to the Hessian so it does not need to be recomputed.
Definition at line 108 of file sparse_forjac_hessian.hpp.
|
inline |
inform CppAD that this information needs to be recomputed
Definition at line 167 of file sparse_forjac_hessian.hpp.
Referenced by CppAD::cg::SparseForjacHessianWork::clear().
|
inline |
Code adapted from ADFun::SparseHessian()
Definition at line 120 of file sparse_forjac_hessian.hpp.
| std::vector<size_t> CppAD::cg::SparseForjacHessianWorkHes::c_sort |
version of user c array sorted by row or column
Definition at line 113 of file sparse_forjac_hessian.hpp.
| size_t CppAD::cg::SparseForjacHessianWorkHes::K |
number elements in the user sparse Hessian
Definition at line 117 of file sparse_forjac_hessian.hpp.
Referenced by prepare().
| std::vector<size_t> CppAD::cg::SparseForjacHessianWorkHes::k_sort |
mapping from sorted array indices to user array indices
Definition at line 115 of file sparse_forjac_hessian.hpp.
| std::vector<size_t> CppAD::cg::SparseForjacHessianWorkHes::r_sort |
version of user r array sorted by row or column
Definition at line 111 of file sparse_forjac_hessian.hpp.