CppAD: A C++ Algorithmic Differentiation Package
20171217
|
void CppAD::ADFun< Base >::for_hes_sparsity | ( | const BoolVector & | select_domain, |
const BoolVector & | select_range, | ||
bool | internal_bool, | ||
sparse_rc< SizeVector > & | pattern_out | ||
) |
Forward Hessian sparsity patterns.
Base | is the base type for this recording. |
BoolVector | is the simple vector with elements of type bool that is used for sparsity for the vector s. |
SizeVector | is the simple vector with elements of type size_t that is used for row, column index sparsity patterns. |
select_domain | is a sparsity pattern for for the diagonal of D. |
select_range | is a sparsity pattern for for s. |
internal_bool | If this is true, calculations are done with sets represented by a vector of boolean values. Otherwise, a vector of standard sets is used. |
pattern_out | The return value is a sparsity pattern for H(x) where
|
Definition at line 161 of file for_hes_sparsity.hpp.