CppAD: A C++ Algorithmic Differentiation Package 20110419
|
template<class Vector_set >
Reverse mode Jacobian sparsity pattern for all unary operators. The C++ source code corresponding to a unary operation has the form z = fun(x) where fun is a C++ unary function, or it has the form z = x op p where op is a C++ bianry operator and p is a parameter. This routine is given the sparsity patterns for a function G(z, y, ... ) and it uses them to compute the sparsity patterns for H( x , w , u , ... ) = G[ z(x) , x , w , u , ... ]
Definition at line 128 of file sparse_unary_op.hpp. Referenced by RevJacSweep(). |