CppAD: A C++ Algorithmic Differentiation Package
20130102
|
const size_t NumArgTable[] |
Table containing number of arguments for the corresponding operator.
The i-th element in this table specifes the number of arguments stored for each occurance of the operator that is the i-th value in the OpCode enum type. For example, for the first three OpCode enum values we have
OpCode j NumArgTable[j] Meaning AbsOp 0 1 index of variable we are taking absolute value of AcosOp 1 1 index of variable we are taking cosine of AddpvOp 1 2 indices of parameter and variable we are adding
Note that the meaning of the arguments depends on the operator.
Definition at line 118 of file op_code.hpp.
Referenced by NumArg().