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

Compute Reverse mode Jacobian sparsity patterns. More...

Go to the source code of this file.

Defines

#define CPPAD_REV_JAC_SWEEP_TRACE   0
 This value is either zero or one.

Functions

template<class Base , class Vector_set >
void RevJacSweep (size_t n, size_t numvar, player< Base > *play, Vector_set &var_sparsity)
 Given the sparsity pattern for the dependent variables, RevJacSweep computes the sparsity pattern for all the independent variables.

Detailed Description

Compute Reverse mode Jacobian sparsity patterns.

Definition in file rev_jac_sweep.hpp.