group_max | specifies the maximum number of colors to group during a single forward sweep. This must be greater than zero and group_max = 1 minimizes memory usage. |
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_for. The previous call must be for the same ADFun object f and the same subset. |