CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
|
#include <iter_equation_group.hpp>
Public Types | |
using | CGB = CppAD::cg::CG< Base > |
using | Arg = Argument< Base > |
using | pairss = std::pair< size_t, size_t > |
Public Member Functions | |
void | evalHessianSparsity () |
const std::vector< std::set< size_t > > & | getHessianSparsity () const |
const std::vector< std::set< pairss > > & | getHessianIndexedIndexedTapeIndexes (size_t origJ1, size_t origJ2) const |
const std::vector< std::set< size_t > > & | getHessianIndexedNonIndexedTapeIndexes (size_t origJ1, size_t origJ2) const |
const std::vector< std::set< size_t > > & | getHessianNonIndexedIndexedTapeIndexes (size_t origJ1, size_t origJ2) const |
const std::set< std::pair< size_t, size_t > > & | getHessianNonIndexedNonIndexedIndexes () const |
const std::map< size_t, std::set< size_t > > & | getHessianTempIndexedTapeIndexes (size_t k1, size_t origJ2) const |
Public Attributes | |
size_t | index |
iteration group index/ID | |
std::set< size_t > | tapeI |
equations indexes in tape of the loop model | |
std::set< size_t > | iterations |
iterations which only have these equations defined | |
LoopModel< Base > * | model |
Group of equations present at the same iterations
Definition at line 25 of file iter_equation_group.hpp.
using CppAD::cg::IterEquationGroup< Base >::Arg = Argument<Base> |
Definition at line 28 of file iter_equation_group.hpp.
using CppAD::cg::IterEquationGroup< Base >::CGB = CppAD::cg::CG<Base> |
Definition at line 27 of file iter_equation_group.hpp.
using CppAD::cg::IterEquationGroup< Base >::pairss = std::pair<size_t, size_t> |
Definition at line 29 of file iter_equation_group.hpp.
|
inline |
Definition at line 76 of file iter_equation_group.hpp.
|
inline |
make a database of the Hessian elements
indexed tapeJ1
non-indexed tapeJ1
temporaries tapeJ1
Definition at line 82 of file iter_equation_group.hpp.
|
inline |
origJ1 | |
origJ2 |
Definition at line 188 of file iter_equation_group.hpp.
Referenced by CppAD::cg::ModelCSourceGen< Base >::analyseSparseHessianWithLoops().
|
inline |
Definition at line 201 of file iter_equation_group.hpp.
|
inline |
Definition at line 214 of file iter_equation_group.hpp.
|
inline |
Definition at line 227 of file iter_equation_group.hpp.
|
inline |
Definition at line 177 of file iter_equation_group.hpp.
|
inline |
Definition at line 231 of file iter_equation_group.hpp.
size_t CppAD::cg::IterEquationGroup< Base >::index |
iteration group index/ID
Definition at line 36 of file iter_equation_group.hpp.
Referenced by CppAD::cg::ModelCSourceGen< Base >::analyseSparseHessianWithLoops(), and CppAD::cg::LoopModel< Base >::LoopModel().
std::set<size_t> CppAD::cg::IterEquationGroup< Base >::iterations |
iterations which only have these equations defined
Definition at line 40 of file iter_equation_group.hpp.
Referenced by CppAD::cg::LoopFreeModel< Base >::calculateJacobianHessianUsedByLoops(), CppAD::cg::IterEquationGroup< Base >::evalHessianSparsity(), CppAD::cg::LoopModel< Base >::LoopModel(), and CppAD::cg::ModelCSourceGen< Base >::prepareSparseHessianWithLoops().
LoopModel<Base>* CppAD::cg::IterEquationGroup< Base >::model |
Definition at line 42 of file iter_equation_group.hpp.
std::set<size_t> CppAD::cg::IterEquationGroup< Base >::tapeI |
equations indexes in tape of the loop model
Definition at line 38 of file iter_equation_group.hpp.
Referenced by CppAD::cg::LoopFreeModel< Base >::calculateJacobianHessianUsedByLoops(), CppAD::cg::IterEquationGroup< Base >::evalHessianSparsity(), CppAD::cg::loops::HessianWithLoopsInfo< Base >::evalLoopModelJacobianHessian(), and CppAD::cg::LoopModel< Base >::LoopModel().