CppAD: A C++ Algorithmic Differentiation Package
20171217
|
void CppAD::ADFun< Base >::RevSparseHesCheckpoint | ( | size_t | q, |
vector< bool > & | s, | ||
bool | transpose, | ||
local::sparse_list & | h | ||
) |
Hessian sparsity patterns calculation used by checkpoint functions.
Base | is the base type for this recording. |
transpose | is true (false) h is equal to ![]() ![]()
![]() ![]() |
q | is the value of q in the by the previous call of the form f.ForSparseJac(q, r)The value r in this call is a sparsity pattern for the matrix ![]() |
s | is a vector with size m that specifies the sparsity pattern for the vector ![]() |
h | The input size and elements of h do not matter. On output, h is the sparsity pattern for the matrix ![]() ![]() |
Definition at line 552 of file rev_sparse_hes.hpp.