x | [in] is a vector specifing the point at which to compute the Jacobian. |
p | [in] If work.color.size() != 0 , then p is not used. Otherwise, it is a sparsity pattern for the Jacobian of this ADFun<Base> object. Note that we do not change the values in p , but is not const because we use its iterator facility. |
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 | work.color_method is an input. The rest of This structure contains information that is computed by SparseJacobainRev . If the sparsity pattern, row vector, or col vectors are not the same between calls to SparseJacobianRev , work.clear() must be called to reinitialize work . |