CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::SparseForjacHessianWork Class Reference

#include <sparse_forjac_hessian.hpp>

Collaboration diagram for CppAD::cg::SparseForjacHessianWork:
Collaboration graph

Public Member Functions

template<class Base , class VectorSize >
void prepare (const ADFun< Base > &fun, const VectorSize &jacRow, const VectorSize &jacCol, const VectorSize &hesRow, const VectorSize &hesCol)
 
void clear ()
 inform CppAD that this information needs to be recomputed More...
 

Public Attributes

SparseForjacHessianWorkJac jac
 
SparseForjacHessianWorkHes hes
 
std::vector< size_t > color
 results of the coloring algorithm More...
 

Detailed Description

class used by SparseForJacHessian to hold information so it does not need to be recomputed.

Definition at line 178 of file sparse_forjac_hessian.hpp.

Member Function Documentation

◆ clear()

void CppAD::cg::SparseForjacHessianWork::clear ( )
inline

inform CppAD that this information needs to be recomputed

Definition at line 207 of file sparse_forjac_hessian.hpp.

◆ prepare()

template<class Base , class VectorSize >
void CppAD::cg::SparseForjacHessianWork::prepare ( const ADFun< Base > &  fun,
const VectorSize &  jacRow,
const VectorSize &  jacCol,
const VectorSize &  hesRow,
const VectorSize &  hesCol 
)
inline

Definition at line 186 of file sparse_forjac_hessian.hpp.

Member Data Documentation

◆ color

std::vector<size_t> CppAD::cg::SparseForjacHessianWork::color

results of the coloring algorithm

Definition at line 183 of file sparse_forjac_hessian.hpp.

Referenced by clear().

◆ hes

SparseForjacHessianWorkHes CppAD::cg::SparseForjacHessianWork::hes

Definition at line 181 of file sparse_forjac_hessian.hpp.

◆ jac

SparseForjacHessianWorkJac CppAD::cg::SparseForjacHessianWork::jac

Definition at line 180 of file sparse_forjac_hessian.hpp.


The documentation for this class was generated from the following file: