|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| 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.
| set_type | is 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. |
| x | See SparseHessian(x, w, p). |
| w | See SparseHessian(x, w, p). |
| p | See SparseHessian(x, w, p). |
| hes | is 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.