CppAD: A C++ Algorithmic Differentiation Package
20171217


inline 
Forward mode Jacobian sparsity pattern for all binary operators.
The C++ source code corresponding to a binary operation has the form
z = fun(x, y)
where fun is a C++ binary function and both x and y are variables, or it has the form
z = x op y
where op is a C++ binary unary operator and both x and y are variables.
Vector_set  is the type used for vectors of sets. It can be either sparse_pack or sparse_list. 
i_z  variable index corresponding to the result for this operation; i.e., z. 
arg  arg[0] variable index corresponding to the left operand for this operator; i.e., x. arg[1] variable index corresponding to the right operand for this operator; i.e., y. 
sparsity  Input: The set with index arg[0] in sparsity is the sparsity bit pattern for x. This identifies which of the independent variables the variable x depends on. Input: The set with index arg[1] in sparsity is the sparsity bit pattern for y. This identifies which of the independent variables the variable y depends on. Output: The set with index i_z in sparsity is the sparsity bit pattern for z. This identifies which of the independent variables the variable z depends on. 
Definition at line 80 of file sparse_binary_op.hpp.
Referenced by for_jac_sweep().