CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Base >
template<class VectorBase , class VectorSet >
void ADFun< Base >::SparseJacobianCase ( bool  set_type,
const VectorBase &  x,
const VectorSet &  p,
VectorBase &  jac 
) [private]

Private helper function for SparseJacobian(x, p).

All of the description in the public member function SparseJacobian(x, p) applies.

Parameters:
set_typeis a bool value. This argument is used to dispatch to the proper souce code depending on the value of VectorSet::value_type.
xSee SparseJacobian(x, p).
pSee SparseJacobian(x, p).
jacis the return value for the corresponding call to SparseJacobian(x, p). On input, it must have size equal to the domain times range dimension for this ADFun<Base> object. On return, it will contain the Jacobian.

Definition at line 188 of file sparse_jacobian.hpp.