CppAD: A C++ Algorithmic Differentiation Package  20130102
template<class Base >
template<class VectorBase , class VectorSet >
void ADFun< Base >::SparseHessianCase ( const std::set< size_t > &  set_type,
const VectorBase &  x,
const VectorBase &  w,
const VectorSet &  p,
VectorBase &  hes 
) [private]

Private helper function for SparseHessian(x, w, p).

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

Parameters:
set_typeis a std::set<size_t> value. This argument is used to dispatch to the proper source code depending on the value of VectorSet::value_type.
xSee SparseHessian(x, w, p).
wSee SparseHessian(x, w, p).
pSee SparseHessian(x, w, p).
hesis the return value for the corresponding call to SparseHessian(x, w, 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 Hessian.

Definition at line 773 of file sparse_hessian.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines