CppAD: A C++ Algorithmic Differentiation Package 20110419
rev_hes_sweep.hpp File Reference

Compute Reverse mode Hessian sparsity patterns. More...

Go to the source code of this file.

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.

Detailed Description

Compute Reverse mode Hessian sparsity patterns.

Definition in file rev_hes_sweep.hpp.