CppAD: A C++ Algorithmic Differentiation Package
20130102
|
Files | |
file | rev_hes_sweep.hpp |
Compute Reverse mode Hessian sparsity patterns. | |
Defines | |
#define | CPPAD_REV_HES_SWEEP_TRACE 0 |
This value is either zero or one. | |
Functions | |
template<class Base , class Vector_set > | |
void | RevHesSweep (size_t n, size_t numvar, player< Base > *play, Vector_set &for_jac_sparse, bool *RevJac, Vector_set &rev_hes_sparse) |
Given the forward Jacobian sparsity pattern for all the variables, and the reverse Jacobian sparsity pattern for the dependent variables, RevHesSweep computes the Hessian sparsity pattern for all the independent variables. |