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

Compute Reverse mode Jacobian 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_ATOMIC_CALL   user_ok = user_atom->rev_sparse_jac
#define CPPAD_REV_JAC_SWEEP_TRACE   0
 This value is either zero or one.

Functions

template<class Base , class Vector_set >
void CppAD::RevJacSweep (bool nz_compare, 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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines