CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
size_t CppAD::local::optimize::optimize_hash_code ( OpCode  op,
size_t  num_arg,
const addr_t *  arg 

Specialized hash code for a CppAD operator and its arguments (used during optimization).

opis the operator that we are computing a hash code for.
num_argnumber of elements of arg to include in the hash code (num_arg <= 3).
argis a vector of length num_arg containing the corresponding argument indices for this operator.
is a hash code that is between zero and CPPAD_HASH_TABLE_SIZE - 1.

Definition at line 41 of file local/optimize/hash_code.hpp.

Referenced by match_op().