|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| size_t ADFun< Base >::SparseHessianCompute | ( | const VectorBase & | x, |
| const VectorBase & | w, | ||
| VectorSet & | sparsity, | ||
| VectorBase & | hes, | ||
| sparse_hessian_work & | work | ||
| ) | [private] |
Private helper function that does computation for all Sparse Hessian cases.
| Base | See SparseHessian(x, w, p, row, col, hes, work). |
| VectorBase | See SparseHessian(x, w, p, row, col, hes, work). |
| VectorSet | is either sparse_pack, sparse_set or sparse_list. |
| x | See SparseHessian(x, w, p, row, col, hes, work). |
| w | See SparseHessian(x, w, p, row, col, hes, work). |
| sparsity | If work.color.size() != 0, then sparsity is not used. Otherwise, it is a sparsity pattern for the Hessian of this ADFun<Base> object. |
| hes | See SparseHessian(x, w, p, row, col, hes, work). |
| work | See SparseHessian(x, w, p, row, col, hes, work). |
SparseHessian(x, w, p, row, col, hes, work). Definition at line 312 of file sparse_hessian.hpp.