x | a vector of length n, the number of independent variables in f (this ADFun object). |
subset | specifices the subset of the sparsity pattern where the Jacobian is evaluated. subset.nr() == m, subset.nc() == n. |
pattern | is a sparsity pattern for the Jacobian of f; pattern.nr() == m, pattern.nc() == n, where m is number of dependent variables in f. |
coloring | determines which coloring algorithm is used. This must be cppad or colpack. |
work | this structure must be empty, or contain the information stored by a previous call to sparse_jac_rev. The previous call must be for the same ADFun object f and the same subset. |