CppAD: A C++ Algorithmic Differentiation Package
20130918
|
CppAD hashing utility. More...
Go to the source code of this file.
Namespaces | |
namespace | CppAD |
contains all the variables and functions defined by the CppAD package. | |
Defines | |
#define | CPPAD_HASH_TABLE_SIZE 10000 |
the codes retruned by hash_code are between zero and CPPAD_HASH_TABLE_SIZE minus one. | |
Functions | |
template<class Value > | |
unsigned short | CppAD::hash_code (const Value &value) |
General purpose hash code for an arbitrary value. | |
template<class Base > | |
unsigned short | CppAD::hash_code (OpCode op, const addr_t *arg, size_t npar, const Base *par) |
Specialized hash code for a CppAD operator and its arguments. |
CppAD hashing utility.
Definition in file hash_code.hpp.