CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Vector_set >
void CppAD::local::forward_sparse_hessian_nonlinear_unary_op ( size_t  i_v,
const Vector_set &  for_jac_sparsity,
Vector_set &  for_hes_sparsity 
)
inline

Forward mode Hessian sparsity pattern for non-linear unary operators.

The C++ source code corresponding to this operation is

        w(x) = fun( v(x) )

where fun is a non-linear function.

Parameters
i_vis the index of the argument variable v
for_jac_sparsityfor_jac_sparsity(i_v) constains the Jacobian sparsity for v(x).
for_hes_sparsityOn input, for_hes_sparsity includes the Hessian sparsity for v(x); i.e., the sparsity can be a super set. Upon return it includes the Hessian sparsity for w(x)

Definition at line 229 of file sparse_unary_op.hpp.

Referenced by for_hes_sweep().