CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Compute Reverse mode Hessian sparsity patterns. More...
Go to the source code of this file.
Namespaces | |
namespace | CppAD |
contains all the variables and functions defined by the CppAD package. | |
Defines | |
#define | CPPAD_REV_HES_SWEEP_TRACE 0 |
This value is either zero or one. | |
Functions | |
template<class Base , class Vector_set > | |
void | CppAD::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. |
Compute Reverse mode Hessian sparsity patterns.
Definition in file rev_hes_sweep.hpp.