CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inline |
Forward mode Hessian sparsity pattern for power operator.
The C++ source code corresponding to this operation is
w(x) = pow( v0(x) , v1(x) )
arg | is the index of the argument vector for the power operation; i.e., arg[0], arg[1] are the left and right operands. |
for_jac_sparsity | for_jac_sparsity(arg[0]) constains the Jacobian sparsity for v0(x), for_jac_sparsity(arg[1]) constains the Jacobian sparsity for v1(x). |
for_hes_sparsity | On input, for_hes_sparsity includes the Hessian sparsity for v0(x) and v1(x); i.e., the sparsity can be a super set. Upon return it includes the Hessian sparsity for w(x) |
Definition at line 451 of file sparse_binary_op.hpp.
Referenced by for_hes_sweep().