CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base>
template<class InternalSparsity >
void CppAD::atomic_base< Base >::for_sparse_jac ( const vector< Base > &  x,
const vector< size_t > &  x_index,
const vector< size_t > &  y_index,
InternalSparsity &  var_sparsity 
)
inlineinherited

Link, before case split, from for_jac_sweep to atomic_base.

Template Parameters
InternalSparsityIs the used internaly for sparsity calculations; i.e., sparse_pack or sparse_list.
Parameters
xis parameter arguments to the function, other components are nan.
x_indexis the variable index, on the tape, for the arguments to this function. This size of x_index is n, the number of arguments to this function.
y_indexis the variable index, on the tape, for the results for this function. This size of y_index is m, the number of results for this function.
var_sparsityOn input, for j = 0, ... , n-1, the sparsity pattern with index x_index[j], is the sparsity for the j-th argument to this atomic function. On input, for i = 0, ... , m-1, the sparsity pattern with index y_index[i], is empty. On output, it is the sparsity for the j-th result for this atomic function.

Definition at line 1246 of file atomic_base.hpp.