CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
template<class VectorBase >
VectorBase CppAD::ADFun< Base >::SparseJacobian ( const VectorBase &  x)

calculate sparse Jacobians

Compute a sparse Jacobian.

The C++ source code corresponding to this operation is

     jac = SparseJacobian(x)
Template Parameters
Baseis the base type for the recording that is stored in this ADFun<Base> object.
VectorBaseis a simple vector class with elements of the Base.
Parameters
x[in] is a vector specifing the point at which to compute the Jacobian.
Returns
Will be a vector of size m * n containing the Jacobian at the specified point (in row major order).

Definition at line 1048 of file sparse_jacobian.hpp.