CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
template<class BoolVector , class SizeVector >
void CppAD::ADFun< Base >::rev_hes_sparsity ( const BoolVector &  select_range,
bool  transpose,
bool  internal_bool,
sparse_rc< SizeVector > &  pattern_out 

Reverse Hessian sparsity patterns.

Template Parameters
Baseis the base type for this recording.
BoolVectoris the simple vector with elements of type bool that is used for sparsity for the vector s.
SizeVectoris the simple vector with elements of type size_t that is used for row, column index sparsity patterns.
select_rangeis a sparsity pattern for for s.
transposeIs the returned sparsity pattern transposed.
internal_boolIf this is true, calculations are done with sets represented by a vector of boolean values. Otherwise, a vector of standard sets is used.
pattern_outThe value of transpose is false (true), the return value is a sparsity pattern for H(x) ( H(x)^T ) where

\[ H(x) = R * F^{(1)} (x) \]

Here F is the function corresponding to the operation sequence and x is any argument value.

Definition at line 165 of file rev_hes_sparsity.hpp.