|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| VectorBase ADFun< Base >::SparseJacobian | ( | const VectorBase & | x, |
| const VectorSet & | p | ||
| ) |
Compute a sparse Jacobian.
The C++ source code corresponding to this operation is
jac = SparseJacobian(x, p)
| Base | is the base type for the recording that is stored in this ADFun<Base object. |
| VectorBase | is a simple vector class with elements of type Base. |
| VectorSet | is a simple vector class with elements of type bool or std::set<size_t>. |
| x | is a vector specifing the point at which to compute the Jacobian. |
| p | is the sparsity pattern for the Jacobian that we are calculating. |
m * n containing the Jacobian at the specified point (in row major order). Definition at line 1064 of file sparse_jacobian.hpp.