CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::loops::HessianWithLoopsInfo< Base > Class Template Reference
Collaboration diagram for CppAD::cg::loops::HessianWithLoopsInfo< Base >:
Collaboration graph

Public Member Functions

 HessianWithLoopsInfo (LoopModel< Base > &loop)
 
void evalLoopModelJacobianHessian (bool individualColoring)
 

Public Attributes

LoopModel< Base > * model
 
std::vector< std::set< size_t > > evalJacSparsity
 
std::vector< HessianWithLoopsEquationGroupInfo< Base > > equationGroups
 
std::map< pairss, size_t > nonIndexedNonIndexedPosition
 
std::map< pairss, std::set< size_t > > nonLoopNonIndexedNonIndexed
 
LoopStartOperationNode< Base > * loopStart
 
LoopEndOperationNode< Base > * loopEnd
 
IndexOperationNode< Base > * iterationIndexOp
 
std::vector< CG< Base > > x
 
std::vector< CG< Base > > w
 
std::vector< std::map< size_t, CG< Base > > > dyiDzk
 
std::vector< std::set< size_t > > noLoopEvalHessTempsSparsity
 
std::map< size_t, std::map< size_t, CG< Base > > > dzDxx
 
std::vector< IfElseInfo< Base > > ifElses
 

Detailed Description

template<class Base>
class CppAD::cg::loops::HessianWithLoopsInfo< Base >

Definition at line 62 of file hessian_with_loops_info.hpp.

Constructor & Destructor Documentation

◆ HessianWithLoopsInfo() [1/2]

template<class Base >
CppAD::cg::loops::HessianWithLoopsInfo< Base >::HessianWithLoopsInfo ( )
inline

Definition at line 89 of file hessian_with_loops_info.hpp.

◆ HessianWithLoopsInfo() [2/2]

template<class Base >
CppAD::cg::loops::HessianWithLoopsInfo< Base >::HessianWithLoopsInfo ( LoopModel< Base > &  loop)
inline

Definition at line 97 of file hessian_with_loops_info.hpp.

Member Function Documentation

◆ evalLoopModelJacobianHessian()

template<class Base >
void CppAD::cg::loops::HessianWithLoopsInfo< Base >::evalLoopModelJacobianHessian ( bool  individualColoring)
inline

Evaluates the Jacobian and the Hessian of the loop model

Parameters
individualColoringwhether or not there are atomic functions in the model

Definition at line 113 of file hessian_with_loops_info.hpp.

Referenced by CppAD::cg::ModelCSourceGen< Base >::prepareSparseHessianWithLoops(), and CppAD::cg::ModelCSourceGen< Base >::prepareSparseReverseTwoWithLoops().

Member Data Documentation

◆ dyiDzk

◆ dzDxx

template<class Base >
std::map<size_t, std::map<size_t, CG<Base> > > CppAD::cg::loops::HessianWithLoopsInfo< Base >::dzDxx

Definition at line 84 of file hessian_with_loops_info.hpp.

◆ equationGroups

template<class Base >
std::vector<HessianWithLoopsEquationGroupInfo<Base> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::equationGroups

Definition at line 68 of file hessian_with_loops_info.hpp.

◆ evalJacSparsity

template<class Base >
std::vector<std::set<size_t> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::evalJacSparsity

Definition at line 66 of file hessian_with_loops_info.hpp.

◆ ifElses

template<class Base >
std::vector<IfElseInfo<Base> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::ifElses

Definition at line 87 of file hessian_with_loops_info.hpp.

◆ iterationIndexOp

template<class Base >
IndexOperationNode<Base>* CppAD::cg::loops::HessianWithLoopsInfo< Base >::iterationIndexOp

Definition at line 76 of file hessian_with_loops_info.hpp.

◆ loopEnd

template<class Base >
LoopEndOperationNode<Base>* CppAD::cg::loops::HessianWithLoopsInfo< Base >::loopEnd

Definition at line 75 of file hessian_with_loops_info.hpp.

◆ loopStart

template<class Base >
LoopStartOperationNode<Base>* CppAD::cg::loops::HessianWithLoopsInfo< Base >::loopStart

Definition at line 74 of file hessian_with_loops_info.hpp.

◆ model

template<class Base >
LoopModel<Base>* CppAD::cg::loops::HessianWithLoopsInfo< Base >::model

Definition at line 64 of file hessian_with_loops_info.hpp.

◆ noLoopEvalHessTempsSparsity

template<class Base >
std::vector<std::set<size_t> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::noLoopEvalHessTempsSparsity

Definition at line 83 of file hessian_with_loops_info.hpp.

◆ nonIndexedNonIndexedPosition

template<class Base >
std::map<pairss, size_t> CppAD::cg::loops::HessianWithLoopsInfo< Base >::nonIndexedNonIndexedPosition

Definition at line 70 of file hessian_with_loops_info.hpp.

◆ nonLoopNonIndexedNonIndexed

template<class Base >
std::map<pairss, std::set<size_t> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::nonLoopNonIndexedNonIndexed

Definition at line 72 of file hessian_with_loops_info.hpp.

◆ w

template<class Base >
std::vector<CG<Base> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::w

Definition at line 78 of file hessian_with_loops_info.hpp.

◆ x

template<class Base >
std::vector<CG<Base> > CppAD::cg::loops::HessianWithLoopsInfo< Base >::x

Definition at line 77 of file hessian_with_loops_info.hpp.


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