x | See SparseJacobianForward(x, p, row, col, jac, work) . |
p_transpose | If work.color.size() != 0 , then p_transpose is not used. Otherwise, it is a sparsity pattern for the transpose of the Jacobian of this ADFun<Base> object. Note that we do not change the values in p_transpose , but is not const because we use its iterator facility. |
jac | See SparseJacobianForward(x, p, row, col, jac, work) . |
work | See SparseJacobianForward(x, p, row, col, jac, work) . In addition, work.color contains information that is computed by SparseJacobainFor . If the sparsity pattern, row vector, and col vectors are not the same between calls, work.clear() must be called to reinitialize work.color . |