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