CppAD: A C++ Algorithmic Differentiation Package
20171217

size_t CppAD::ADFun< Base >::SparseJacobianReverse  (  const VectorBase &  x, 
const VectorSet &  p,  
const VectorSize &  row,  
const VectorSize &  col,  
VectorBase &  jac,  
sparse_jacobian_work &  work  
) 
Compute user specified subset of a sparse Jacobian using forward mode.
The C++ source code corresponding to this operation is
SparceJacobianReverse(x, p, row, col, jac, work)
Base  is the base type for the recording that is stored in this ADFun<Base> object. 
VectorBase  is a simple vector class with elements of type Base. 
VectorSet  is a simple vector class with elements of type bool or std::set<size_t> . 
VectorSize  is a simple vector class with elements of type size_t . 
x  [in] is a vector specifing the point at which to compute the Jacobian. 
p  [in] is the sparsity pattern for the Jacobian that we are calculating. 
row  [in] is the vector of row indices for the returned Jacobian values. 
col  [in] is the vector of columns indices for the returned Jacobian values. It must have the same size as row . 
jac  [out] is the vector of Jacobian values. It must have the same size as row . The return value jac[k] is the partial of the row[k] range component of the function with respect the the col[k] domain component of its argument. 
work  [in,out] this structure contains information that depends on the function object, sparsity pattern, row vector, and col vector. If they are not the same between calls to SparseJacobianReverse , work.clear() must be called to reinitialize them. 
Definition at line 843 of file sparse_jacobian.hpp.
Referenced by CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_jac_g().